lex-xin 7dab554818 更新 | vor 1 Monat | |
---|---|---|
.husky | vor 1 Jahr | |
dev-dist | vor 1 Monat | |
dist | vor 1 Monat | |
public | vor 1 Monat | |
src | vor 1 Monat | |
templates | vor 1 Jahr | |
.browserslistrc | vor 1 Jahr | |
.editorconfig | vor 6 Monaten | |
.eslintignore | vor 1 Jahr | |
.eslintrc.js | vor 1 Jahr | |
.gitignore | vor 1 Jahr | |
.prettierrc.js | vor 1 Jahr | |
LICENSE | vor 1 Jahr | |
README.md | vor 1 Jahr | |
babel.config.js | vor 1 Jahr | |
components.d.ts | vor 6 Monaten | |
index.html | vor 3 Monaten | |
package-lock.json | vor 3 Monaten | |
package.json | vor 6 Monaten | |
plopfile.js | vor 1 Jahr | |
pnpm-lock.yaml | vor 6 Monaten | |
postcss.config.js | vor 1 Jahr | |
responsivevoice.js | vor 3 Monaten | |
tsconfig.json | vor 1 Jahr | |
tsconfig.node.json | vor 1 Jahr | |
vite.config.ts | vor 1 Monat |
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.