|
|
2 роки тому | |
|---|---|---|
| .husky | 2 роки тому | |
| src | 2 роки тому | |
| templates | 2 роки тому | |
| .browserslistrc | 2 роки тому | |
| .editorconfig | 2 роки тому | |
| .eslintignore | 2 роки тому | |
| .eslintrc.js | 2 роки тому | |
| .gitignore | 2 роки тому | |
| .prettierrc.js | 2 роки тому | |
| LICENSE | 2 роки тому | |
| README.md | 2 роки тому | |
| babel.config.js | 2 роки тому | |
| components.d.ts | 2 роки тому | |
| index.html | 2 роки тому | |
| package-lock.json | 2 роки тому | |
| package.json | 2 роки тому | |
| plopfile.js | 2 роки тому | |
| pnpm-lock.yaml | 2 роки тому | |
| postcss.config.js | 2 роки тому | |
| tsconfig.json | 2 роки тому | |
| tsconfig.node.json | 2 роки тому | |
| vite.config.ts | 2 роки тому |
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.