feat: migrate to Tailwind CSS v4

Replace @nuxtjs/tailwindcss with @tailwindcss/vite, move theme
tokens into @theme inline in main.css, drop tailwind.config.ts.
This commit is contained in:
RhenCloud 2026-08-27 00:26:17 +08:00
parent 32a8c2ce4e
commit c75567cf15
No known key found for this signature in database
GPG key ID: A574A617378C4E0B
8 changed files with 264 additions and 530 deletions

View file

@ -33,13 +33,13 @@
},
"devDependencies": {
"@cloudflare/workers-types": "^5.20260801.1",
"@nuxtjs/tailwindcss": "^6.14.0",
"@tailwindcss/vite": "^4.3.3",
"@typescript-eslint/eslint-plugin": "^8.21.0",
"@typescript-eslint/parser": "^8.21.0",
"eslint": "^10.9.0",
"markdownlint-cli": "^0.49.1",
"prettier": "^3.9.6",
"tailwindcss": "^3.4.19",
"tailwindcss": "^4.3.3",
"typescript": "^5.7.0",
"vitepress": "^1.6.4",
"vue-router": "^5.2.0",