liushengqiang a2fcd91c12 build | 1 éve | |
---|---|---|
.husky | 1 éve | |
dev-dist | 1 éve | |
dist | 1 éve | |
public | 1 éve | |
src | 1 éve | |
templates | 1 éve | |
.browserslistrc | 1 éve | |
.editorconfig | 1 éve | |
.eslintignore | 1 éve | |
.eslintrc.js | 1 éve | |
.gitignore | 1 éve | |
.prettierrc.js | 1 éve | |
LICENSE | 1 éve | |
README.md | 1 éve | |
babel.config.js | 1 éve | |
components.d.ts | 1 éve | |
index.html | 1 éve | |
package-lock.json | 1 éve | |
package.json | 1 éve | |
plopfile.js | 1 éve | |
pnpm-lock.yaml | 1 éve | |
postcss.config.js | 1 éve | |
tsconfig.json | 1 éve | |
tsconfig.node.json | 1 éve | |
vite.config.ts | 1 éve |
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.