lex 6fc779729c Update registerSW.js | 7 months ago | |
---|---|---|
.husky | 1 year ago | |
dev-dist | 7 months ago | |
dist | 7 months ago | |
public | 7 months ago | |
src | 7 months ago | |
templates | 1 year ago | |
.browserslistrc | 1 year ago | |
.editorconfig | 1 year ago | |
.eslintignore | 1 year ago | |
.eslintrc.js | 1 year ago | |
.gitignore | 1 year ago | |
.prettierrc.js | 1 year ago | |
LICENSE | 1 year ago | |
README.md | 1 year ago | |
babel.config.js | 1 year ago | |
components.d.ts | 1 year ago | |
index.html | 8 months ago | |
package-lock.json | 7 months ago | |
package.json | 10 months ago | |
plopfile.js | 1 year ago | |
pnpm-lock.yaml | 1 year ago | |
postcss.config.js | 1 year ago | |
tsconfig.json | 1 year ago | |
tsconfig.node.json | 1 year ago | |
vite.config.ts | 7 months ago |
This template should help get you started developing mobile applications with Vue3 and Typescript and Vant in Vite.
npm install
npm start
npm build
npm lint
npm generate
you can use tools such as postcss--px-to-viewport to transform px
unit to viewport units (vw, vh, vmin, vmax).
.vue
Imports in TSSince 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.