Skip to content

Commit 5ead41d

Browse files
committed
chore: add tailwindcss and start to migrate
1 parent 0c63608 commit 5ead41d

File tree

4 files changed

+406
-128
lines changed

4 files changed

+406
-128
lines changed

package.json

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,23 +45,24 @@
4545
"fix:all": "yarn fix:frontend && yarn fix:rust && yarn i18n:check"
4646
},
4747
"dependencies": {
48-
"@tauri-apps/api": "^2.8.0",
49-
"@tauri-apps/plugin-autostart": "^2.5.0",
50-
"@tauri-apps/plugin-dialog": "^2.3.3",
51-
"@tauri-apps/plugin-fs": "^2.4.2",
52-
"@tauri-apps/plugin-opener": "^2.5.0",
53-
"@tauri-apps/plugin-process": "^2.3.0",
54-
"@tauri-apps/plugin-shell": "^2.3.1",
55-
"@tauri-apps/plugin-store": "^2.4.0",
56-
"chrono-node": "^2.8.4",
48+
"@tauri-apps/api": "^2.9.1",
49+
"@tauri-apps/plugin-autostart": "^2.5.1",
50+
"@tauri-apps/plugin-dialog": "^2.6.0",
51+
"@tauri-apps/plugin-fs": "^2.4.5",
52+
"@tauri-apps/plugin-opener": "^2.5.3",
53+
"@tauri-apps/plugin-process": "^2.3.1",
54+
"@tauri-apps/plugin-shell": "^2.3.4",
55+
"@tauri-apps/plugin-store": "^2.4.2",
56+
"chrono-node": "^2.9.0",
5757
"lucide-vue-next": "^0.563.0",
5858
"pinia": "^3.0.4",
5959
"vue": "^3.5.27",
6060
"vue-i18n": "11.2.8",
6161
"vue-router": "^4.6.4"
6262
},
6363
"devDependencies": {
64-
"@tauri-apps/cli": "^2.8.3",
64+
"@tailwindcss/vite": "^4.1.18",
65+
"@tauri-apps/cli": "^2.9.6",
6566
"@types/node": "^24.3.0",
6667
"@typescript-eslint/eslint-plugin": "^8.54.0",
6768
"@typescript-eslint/parser": "^8.54.0",
@@ -83,6 +84,7 @@
8384
"lint-staged": "^16.2.7",
8485
"node-fetch": "^3.3.2",
8586
"prettier": "^3.8.1",
87+
"tailwindcss": "^4.1.18",
8688
"tar": "^7.5.7",
8789
"typescript": "^5.8.3",
8890
"typescript-eslint": "^8.54.0",

src/assets/css/index.css

Whitespace-only changes.

vite.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@ import { resolve } from 'node:path'
22

33
import vue from '@vitejs/plugin-vue'
44
import { defineConfig } from 'vite'
5+
import tailwindcss from '@tailwindcss/vite'
6+
57

68
const host = process.env.TAURI_DEV_HOST
79

810
// https://vitejs.dev/config/
911
export default defineConfig(async () => ({
10-
plugins: [vue()],
12+
plugins: [tailwindcss(), vue()],
1113

1214
// Path aliases
1315
resolve: {

0 commit comments

Comments
 (0)