Go to file
kailong321200875 0f5c55c36d wip: vite版重构中 2021-10-17 11:46:40 +08:00
.husky wip: vite版重构中 2021-10-16 09:40:39 +08:00
.vscode wip: 重构中 2021-10-10 09:59:52 +08:00
public wip: vite版重构中 2021-10-16 09:40:39 +08:00
src wip: vite版重构中 2021-10-17 11:46:40 +08:00
.editorconfig wip: vite版重构中 2021-10-16 09:40:39 +08:00
.env.base wip: vite版重构中 2021-10-16 09:40:39 +08:00
.env.dev wip: vite版重构中 2021-10-16 09:40:39 +08:00
.env.pro wip: vite版重构中 2021-10-16 09:40:39 +08:00
.env.test wip: vite版重构中 2021-10-16 09:40:39 +08:00
.eslintignore wip: vite版重构中 2021-10-17 11:46:40 +08:00
.eslintrc.js wip: vite版重构中 2021-10-16 09:40:39 +08:00
.gitignore wip: vite版重构中 2021-10-16 09:40:39 +08:00
.postcssrc.js wip: vite版重构中 2021-10-16 09:40:39 +08:00
.prettierignore wip: vite版重构中 2021-10-16 09:40:39 +08:00
.prettierrc.js wip: vite版重构中 2021-10-16 09:40:39 +08:00
.stylelintignore wip: vite版重构中 2021-10-17 11:46:40 +08:00
README.md wip: 重构中 2021-10-10 09:59:52 +08:00
commitlint.config.js wip: vite版重构中 2021-10-16 09:40:39 +08:00
components.d.ts wip: vite版重构中 2021-10-17 11:46:40 +08:00
index.html wip: vite版重构中 2021-10-16 09:40:39 +08:00
package.json wip: vite版重构中 2021-10-17 11:46:40 +08:00
stylelint.config.js wip: vite版重构中 2021-10-16 09:40:39 +08:00
tsconfig.json wip: vite版重构中 2021-10-16 09:40:39 +08:00
vite.config.ts wip: vite版重构中 2021-10-16 09:40:39 +08:00
yarn.lock wip: vite版重构中 2021-10-17 11:46:40 +08:00

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.

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.