陈昱达 13d30a51a8 config(vite): 更新 Vite配置以支持特定主机
- 在 Vite 配置中添加 allowedHosts 选项,允许 yiligpt.x.digitalyili.com 主机
- 优化代码格式,调整导入语句的分号
2025-05-27 21:16:02 +08:00
2025-03-14 15:54:40 +08:00
2025-03-14 18:25:39 +08:00
2025-05-16 16:58:21 +08:00
2025-02-27 15:43:42 +08:00
2025-03-18 19:51:41 +08:00
2025-02-27 15:43:42 +08:00
2025-03-18 19:51:41 +08:00
2025-02-27 15:43:42 +08:00

vue3-template

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

VSCode + Volar (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
Description
No description provided
Readme 3.4 MiB
Languages
Vue 57.1%
JavaScript 20.1%
TypeScript 12.2%
SCSS 4.3%
HTML 3.7%
Other 2.5%