lex-xin d5a2c7f26e build | 1 nedēļu atpakaļ | |
---|---|---|
.husky | 1 gadu atpakaļ | |
dev-dist | 1 nedēļu atpakaļ | |
dist | 1 nedēļu atpakaļ | |
public | 1 nedēļu atpakaļ | |
src | 1 nedēļu atpakaļ | |
templates | 1 gadu atpakaļ | |
.browserslistrc | 1 gadu atpakaļ | |
.editorconfig | 7 mēneši atpakaļ | |
.eslintignore | 1 gadu atpakaļ | |
.eslintrc.js | 1 gadu atpakaļ | |
.gitignore | 1 gadu atpakaļ | |
.prettierrc.js | 1 gadu atpakaļ | |
LICENSE | 1 gadu atpakaļ | |
README.md | 1 gadu atpakaļ | |
babel.config.js | 1 gadu atpakaļ | |
components.d.ts | 7 mēneši atpakaļ | |
index.html | 1 nedēļu atpakaļ | |
package-lock.json | 7 mēneši atpakaļ | |
package.json | 7 mēneši atpakaļ | |
plopfile.js | 1 gadu atpakaļ | |
pnpm-lock.yaml | 7 mēneši atpakaļ | |
postcss.config.js | 1 gadu atpakaļ | |
responsivevoice.js | 4 mēneši atpakaļ | |
tsconfig.json | 1 gadu atpakaļ | |
tsconfig.node.json | 1 gadu atpakaļ | |
vite.config.ts | 3 mēneši atpakaļ |
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.