设备管理
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
wangqi 2c33a26f8b fix: 样式调整 2 months ago
public feat: 首次添加 3 months ago
src fix: 样式调整 2 months ago
.dockerignore feat: 首次添加 3 months ago
.env feat: 一些调整 2 months ago
.env.development feat: 首次添加 3 months ago
.env.production feat: 一些调整 2 months ago
.gitignore feat: 首次添加 3 months ago
Dockerfile feat: 首次添加 3 months ago
README.md feat: 首次添加 3 months ago
auto-imports.d.ts feat: 首次添加 3 months ago
components.d.ts feat: 首页添加 2 months ago
env.d.ts feat: 首次添加 3 months ago
index.html feat: 首次添加 3 months ago
nginx.conf feat: 首次添加 3 months ago
package.json feat: 首次添加 3 months ago
question.ipynb feat: 首次添加 3 months ago
tsconfig.app.json feat: 首次添加 3 months ago
tsconfig.json feat: 首次添加 3 months ago
tsconfig.node.json feat: 首次添加 3 months ago
tsconfig.node.tsbuildinfo feat: 首次添加 3 months ago
vite.config.d.ts feat: 首次添加 3 months ago
vite.config.ts feat: 首次添加 3 months ago

README.md

ChuNeng

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

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