No description
| .cursor/rules | ||
| .vscode | ||
| docs | ||
| public | ||
| scripts | ||
| src | ||
| .env.development | ||
| .env.pre | ||
| .env.production | ||
| .gitignore | ||
| index.html | ||
| package.json | ||
| postcss.config.js | ||
| README.md | ||
| tailwind.config.js | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||
Vue 3 + TypeScript + Vite
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.
Recommended IDE Setup
- VS Code + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
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 TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of .vue types.
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:
- Disable the built-in TypeScript Extension
- Run
Extensions: Show Built-in Extensionsfrom VSCode's command palette - Find
TypeScript and JavaScript Language Features, right click and selectDisable (Workspace)
- Run
- Reload the VSCode window by running
Developer: Reload Windowfrom the command palette.
WebRTC & CTI 集成
本项目已集成百川 WebRTC 和 CTI 功能,支持完整的外呼、挂断、席位管理等功能。
📚 文档
- 🚀 快速开始指南 - 5分钟快速上手
- 📖 WebRTC-CTI 使用说明 - 详细的 API 文档
- ⚙️ 环境变量配置说明 - 配置指南
- 🧪 测试页面使用说明 - 测试页面指南
- 📋 WebRTC-CTI 集成说明 - 技术实现细节
- 📊 文件清单 - 完整文件列表
- ✅ 完成总结 - 项目总结
快速开始
- 配置环境变量(创建
.env文件) - 启动项目:
npm run dev - 访问测试页面:
/system/test-call
详细说明请参考 快速开始指南。