9e8db7754f
- 安装并配置 Tailwind CSS 和相关依赖 - 在 main.ts 中引入全局样式文件 src/assets/main.css - 添加 @tailwindcss/vite 插件到项目依赖 - 更新 pnpm-lock.yaml 中的依赖关系和版本信息 - 修复开发环境标题设置中的缩进问题
web
This template should help get you started developing with Vue 3 in Vite.
Recommended IDE Setup
VS Code + Vue (Official) ( and disable Vetur).
Recommended Browser Setup
- Chromium-based browsers (Chrome, Edge, Brave, etc.):
- Firefox:
Type Support for .vue Imports in TS
TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for
type checking. In editors, we need Volar to make the
TypeScript language service aware of .vue types.
Customize configuration
See Vite Configuration Reference.
Project Setup
pnpm install
Compile and Hot-Reload for Development
pnpm dev
Type-Check, Compile and Minify for Production
pnpm build