No Description

梦似花落 2d0236a44b 删除文件 src/auto-imports.d.ts 3 years ago
.husky ced99de9b1 build: 集成基础配置 3 years ago
.vscode 5dbcf2397c build: 集成基础配置 3 years ago
public 1ae75500de init: v3 init 3 years ago
src 2d0236a44b 删除文件 src/auto-imports.d.ts 3 years ago
.env.base 5dbcf2397c build: 集成基础配置 3 years ago
.env.dev 5dbcf2397c build: 集成基础配置 3 years ago
.env.pro 5dbcf2397c build: 集成基础配置 3 years ago
.env.test 5dbcf2397c build: 集成基础配置 3 years ago
.eslintignore 5f672c1bc7 mod: gitignore 3 years ago
.eslintrc.js ffdb556a09 build: 配置代码格式化 3 years ago
.gitignore 5f672c1bc7 mod: gitignore 3 years ago
.prettierignore 5dbcf2397c build: 集成基础配置 3 years ago
.prettierrc.js 5dbcf2397c build: 集成基础配置 3 years ago
.stylelintignore 5dbcf2397c build: 集成基础配置 3 years ago
LICENSE 5dbcf2397c build: 集成基础配置 3 years ago
README.md 1ae75500de init: v3 init 3 years ago
commitlint.config.js 5dbcf2397c build: 集成基础配置 3 years ago
index.html 1ae75500de init: v3 init 3 years ago
log.md 5dbcf2397c build: 集成基础配置 3 years ago
package.json ffdb556a09 build: 配置代码格式化 3 years ago
pnpm-lock.yaml ffdb556a09 build: 配置代码格式化 3 years ago
postcss.config.js 5dbcf2397c build: 集成基础配置 3 years ago
stylelint.config.js ffdb556a09 build: 配置代码格式化 3 years ago
tsconfig.json 5dbcf2397c build: 集成基础配置 3 years ago
vite.config.ts ffdb556a09 build: 配置代码格式化 3 years ago
windi.config.ts 5dbcf2397c build: 集成基础配置 3 years ago

README.md

Vue 3 + Typescript + Vite

This template should help get you started developing with Vue 3 and Typescript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.

Recommended IDE Setup

Type Support For .vue Imports in TS

Since TypeScript cannot handle type information for .vue imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. However, if you wish to get actual prop types in .vue imports (for example to get props validation when using manual h(...) calls), you can enable Volar's .vue type support plugin by running Volar: Switch TS Plugin on/off from VSCode command palette.