geekai/gpt-vue/projects/vue-admin
2024-03-11 08:35:21 +08:00
..
.vscode feat(ui): 初始化 2024-03-06 09:27:11 +08:00
public refactor(ui): 登录页重构 2024-03-08 09:45:09 +08:00
src feat(ui):看板图表 样式调整 2024-03-11 08:35:21 +08:00
.env.development feat(ui): 新增请求方法及表格 2024-03-06 13:55:38 +08:00
.env.production feat(ui): 新增请求方法及表格 2024-03-06 13:55:38 +08:00
.eslintrc.cjs feat(ui): 函数管理 2024-03-07 11:40:57 +08:00
.gitignore feat(ui): 初始化 2024-03-06 09:27:11 +08:00
.prettierrc.json feat(ui): 函数管理 2024-03-07 11:40:57 +08:00
env.d.ts feat(ui): 新增登录 2024-03-06 17:54:38 +08:00
index.html feat(ui): 新增登录 2024-03-06 17:54:38 +08:00
package.json feat(ui):看板图表 样式调整 2024-03-11 08:35:21 +08:00
README.md feat(ui): 初始化 2024-03-06 09:27:11 +08:00
tsconfig.app.json feat(ui): 函数管理 2024-03-07 11:40:57 +08:00
tsconfig.json feat(ui): 管理后台基础配置 2024-03-06 10:23:55 +08:00
tsconfig.node.json feat(ui): 函数管理 2024-03-07 11:40:57 +08:00
vite.config.ts feat(ui): 新增登录 2024-03-06 17:54:38 +08:00

vue-admin

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

VSCode + 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:

  1. Disable the built-in TypeScript Extension
    1. Run Extensions: Show Built-in Extensions from VSCode's command palette
    2. Find TypeScript and JavaScript Language Features, right click and select Disable (Workspace)
  2. Reload the VSCode window by running Developer: Reload Window from the command palette.

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

Lint with ESLint

pnpm lint