lex 2a7c98943b 更新打包 | 1 jaar geleden | |
---|---|---|
.husky | 1 jaar geleden | |
dev-dist | 1 jaar geleden | |
dist | 1 jaar geleden | |
public | 1 jaar geleden | |
src | 1 jaar geleden | |
templates | 1 jaar geleden | |
.browserslistrc | 1 jaar geleden | |
.editorconfig | 1 jaar geleden | |
.eslintignore | 1 jaar geleden | |
.eslintrc.js | 1 jaar geleden | |
.gitignore | 1 jaar geleden | |
.prettierrc.js | 1 jaar geleden | |
LICENSE | 1 jaar geleden | |
README.md | 1 jaar geleden | |
babel.config.js | 1 jaar geleden | |
components.d.ts | 1 jaar geleden | |
index.html | 1 jaar geleden | |
package-lock.json | 1 jaar geleden | |
package.json | 1 jaar geleden | |
plopfile.js | 1 jaar geleden | |
pnpm-lock.yaml | 1 jaar geleden | |
postcss.config.js | 1 jaar geleden | |
tsconfig.json | 1 jaar geleden | |
tsconfig.node.json | 1 jaar geleden | |
vite.config.ts | 1 jaar geleden |
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.