升级内容: - 添加 @tailwindcss/vite 依赖 (^4.1.18) - 更新 Tailwind 导入语法: @tailwind → @import "tailwindcss" - 在 Vite 配置中添加 tailwindcss() 插件 - 更新 package-lock.json 锁定文件 变更影响: - 优化 Tailwind CSS 构建性能 - 使用最新的 Tailwind v4 特性 - 简化 CSS 导入方式
36 lines
845 B
JSON
36 lines
845 B
JSON
{
|
|
"name": "ai-writer-workshop",
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@tailwindcss/vite": "^4.1.18",
|
|
"@tiptap/extension-placeholder": "^3.15.3",
|
|
"@tiptap/pm": "^3.15.3",
|
|
"@tiptap/starter-kit": "^3.15.3",
|
|
"@tiptap/vue-3": "^3.15.3",
|
|
"axios": "^1.6.0",
|
|
"diff-match-patch": "^1.0.5",
|
|
"docx": "^9.5.1",
|
|
"file-saver": "^2.0.5",
|
|
"marked": "^9.1.0",
|
|
"pinia": "^2.1.0",
|
|
"sql.js": "^1.13.0",
|
|
"vue": "^3.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4.1.18",
|
|
"@vitejs/plugin-vue": "^4.5.0",
|
|
"autoprefixer": "^10.4.23",
|
|
"dotenv": "^16.3.1",
|
|
"playwright": "^1.57.0",
|
|
"postcss": "^8.5.6",
|
|
"tailwindcss": "^4.1.18",
|
|
"vite": "^5.0.0"
|
|
}
|
|
}
|