Sen descrición

陈凯龙 2c41826c57 build(types): Add vue-types %!s(int64=3) %!d(string=hai) anos
.husky ced99de9b1 build: 集成基础配置 %!s(int64=3) %!d(string=hai) anos
.vscode 2c41826c57 build(types): Add vue-types %!s(int64=3) %!d(string=hai) anos
public 45e879edee build: 设置多语言 %!s(int64=3) %!d(string=hai) anos
src 2c41826c57 build(types): Add vue-types %!s(int64=3) %!d(string=hai) anos
.env.base 5dbcf2397c build: 集成基础配置 %!s(int64=3) %!d(string=hai) anos
.env.dev 5dbcf2397c build: 集成基础配置 %!s(int64=3) %!d(string=hai) anos
.env.pro 5dbcf2397c build: 集成基础配置 %!s(int64=3) %!d(string=hai) anos
.env.test 5dbcf2397c build: 集成基础配置 %!s(int64=3) %!d(string=hai) anos
.eslintignore 45e879edee build: 设置多语言 %!s(int64=3) %!d(string=hai) anos
.eslintrc.js ffdb556a09 build: 配置代码格式化 %!s(int64=3) %!d(string=hai) anos
.gitignore 2c41826c57 build(types): Add vue-types %!s(int64=3) %!d(string=hai) anos
.pnpm-debug.log 45e879edee build: 设置多语言 %!s(int64=3) %!d(string=hai) anos
.prettierignore 5dbcf2397c build: 集成基础配置 %!s(int64=3) %!d(string=hai) anos
.prettierrc.js 5dbcf2397c build: 集成基础配置 %!s(int64=3) %!d(string=hai) anos
.stylelintignore 5dbcf2397c build: 集成基础配置 %!s(int64=3) %!d(string=hai) anos
LICENSE 5dbcf2397c build: 集成基础配置 %!s(int64=3) %!d(string=hai) anos
README.md 1ae75500de init: v3 init %!s(int64=3) %!d(string=hai) anos
commitlint.config.js 5dbcf2397c build: 集成基础配置 %!s(int64=3) %!d(string=hai) anos
index.html 2c41826c57 build(types): Add vue-types %!s(int64=3) %!d(string=hai) anos
log.md 5dbcf2397c build: 集成基础配置 %!s(int64=3) %!d(string=hai) anos
package.json 2c41826c57 build(types): Add vue-types %!s(int64=3) %!d(string=hai) anos
pnpm-lock.yaml 2c41826c57 build(types): Add vue-types %!s(int64=3) %!d(string=hai) anos
postcss.config.js 5dbcf2397c build: 集成基础配置 %!s(int64=3) %!d(string=hai) anos
stylelint.config.js ffdb556a09 build: 配置代码格式化 %!s(int64=3) %!d(string=hai) anos
tsconfig.json 2c41826c57 build(types): Add vue-types %!s(int64=3) %!d(string=hai) anos
vite.config.ts 2c41826c57 build(types): Add vue-types %!s(int64=3) %!d(string=hai) anos
windi.config.ts 2c41826c57 build(types): Add vue-types %!s(int64=3) %!d(string=hai) anos

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.