Files
flaskProject/flask-ui
YanLongChangAn 8c0dca0dad config(vite): 配置服务器监听所有网络接口
- 设置 server.host 为 '0.0.0.0' 以允许外部访问
- 注释掉 API 代理配置避免请求转发冲突
2026-05-07 19:02:26 +08:00
..

flask-ui

This template should help get you started developing with Vue 3 in Vite.

VS Code + Vue (Official) (and disable Vetur).

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

Lint with ESLint

npm run lint