- 使用 Vue 3、TypeScript、Vite、Pinia 和 Vue Router 搭建项目基础结构 - 集成 Tailwind CSS 和 DaisyUI 作为 UI 框架 - 创建销售控制台主页面,包含客户列表、对话监控和客户画像面板 - 添加模拟数据以展示客户在不同销售阶段的流转状态 - 实现 AI/人工切换、消息发送、资料推送等核心交互功能
1.3 KiB
1.3 KiB
247_Contry
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