refactor: 升级tailwindcssv4版本,带来更快的构建速度、更简化的安装和配置、提供专属vite插件

This commit is contained in:
xiaoxian521
2025-03-16 19:46:35 +08:00
parent b87eb6fd0a
commit ab1c7f8bcc
60 changed files with 517 additions and 521 deletions

View File

@@ -121,6 +121,7 @@
"@iconify-icons/ri": "^1.2.10",
"@iconify/vue": "4.2.0",
"@intlify/unplugin-vue-i18n": "^6.0.3",
"@tailwindcss/vite": "^4.0.13",
"@types/codemirror": "^5.60.15",
"@types/dagre": "^0.7.52",
"@types/intro.js": "^5.1.5",
@@ -135,7 +136,6 @@
"@typescript-eslint/parser": "^8.20.0",
"@vitejs/plugin-vue": "^5.2.1",
"@vitejs/plugin-vue-jsx": "^4.1.1",
"autoprefixer": "^10.4.20",
"boxen": "^8.0.1",
"code-inspector-plugin": "^0.19.2",
"cssnano": "^7.0.6",
@@ -150,7 +150,7 @@
"lint-staged": "^15.3.0",
"postcss": "^8.5.1",
"postcss-html": "^1.8.0",
"postcss-import": "^16.1.0",
"postcss-load-config": "^6.0.1",
"postcss-scss": "^4.0.9",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
@@ -162,7 +162,7 @@
"stylelint-config-standard-scss": "^14.0.0",
"stylelint-prettier": "^5.0.2",
"svgo": "^3.3.2",
"tailwindcss": "^3.4.17",
"tailwindcss": "^4.0.13",
"typescript": "^5.7.3",
"vite": "^6.0.7",
"vite-plugin-cdn-import": "^1.0.1",