9e8db7754f
- 安装并配置 Tailwind CSS 和相关依赖 - 在 main.ts 中引入全局样式文件 src/assets/main.css - 添加 @tailwindcss/vite 插件到项目依赖 - 更新 pnpm-lock.yaml 中的依赖关系和版本信息 - 修复开发环境标题设置中的缩进问题
39 lines
940 B
JSON
39 lines
940 B
JSON
{
|
|
"name": "web",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "run-p type-check \"build-only {@}\" --",
|
|
"preview": "vite preview",
|
|
"build-only": "vite build",
|
|
"type-check": "vue-tsc --build"
|
|
},
|
|
"dependencies": {
|
|
"@element-plus/icons-vue": "^2.3.2",
|
|
"@tailwindcss/vite": "^4.3.0",
|
|
"axios": "^1.16.1",
|
|
"element-plus": "^2.14.1",
|
|
"pinia": "^3.0.4",
|
|
"pinia-plugin-persistedstate": "^4.7.1",
|
|
"tailwindcss": "^4.3.0",
|
|
"vue": "^3.5.35",
|
|
"vue-router": "^5.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@tsconfig/node24": "^24.0.4",
|
|
"@types/node": "^24.12.4",
|
|
"@vitejs/plugin-vue": "^6.0.7",
|
|
"@vue/tsconfig": "^0.9.1",
|
|
"npm-run-all2": "^8.0.4",
|
|
"typescript": "~6.0.3",
|
|
"vite": "^8.0.16",
|
|
"vite-plugin-vue-devtools": "^8.1.2",
|
|
"vue-tsc": "^3.3.3"
|
|
},
|
|
"engines": {
|
|
"node": "^20.19.0 || >=22.12.0"
|
|
}
|
|
}
|