- 主页删除推荐/热门视频占位区与 mock 数据引用,仅保留页脚(主题/语言切换、占位链接、站点版权)并让页脚贴底 - 新增 DemoView 原样保留占位模板,注册 /demo 懒加载路由(无入口链接、无守卫) - 占位组件与 mock 数据保留供演示页使用,入口包体积减小
frontend
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
npm install
Compile and Hot-Reload for Development
npm run dev
Type-Check, Compile and Minify for Production
npm run build