黄琪勇 dafbc000b3 文案修改 | 2 days ago | |
---|---|---|
.husky | 1 year ago | |
dev-dist | 2 days ago | |
dist | 1 month ago | |
public | 2 days ago | |
src | 2 days ago | |
templates | 1 year ago | |
.browserslistrc | 1 year ago | |
.editorconfig | 7 months 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 | 7 months ago | |
index.html | 5 days ago | |
package-lock.json | 7 months ago | |
package.json | 7 months ago | |
plopfile.js | 1 year ago | |
pnpm-lock.yaml | 7 months ago | |
postcss.config.js | 1 year ago | |
responsivevoice.js | 4 months ago | |
tsconfig.json | 1 year ago | |
tsconfig.node.json | 1 year ago | |
vite.config.ts | 3 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.