You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			|  | 3 years ago | |
|---|---|---|
| .vscode | 3 years ago | |
| dist | 3 years ago | |
| public | 3 years ago | |
| src | 3 years ago | |
| .babelrc | 3 years ago | |
| .cz-config.js | 3 years ago | |
| .gitignore | 3 years ago | |
| .npmrc | 3 years ago | |
| LICENSE | 3 years ago | |
| README.md | 3 years ago | |
| auto-imports.d.ts | 3 years ago | |
| components.d.ts | 3 years ago | |
| dist.rar | 3 years ago | |
| index.html | 3 years ago | |
| package-lock.json | 3 years ago | |
| package.json | 3 years ago | |
| pnpm-lock.yaml | 3 years ago | |
| tsconfig.json | 3 years ago | |
| vite.config.ts | 3 years ago | |
| yarn.lock | 3 years ago | |
		
			
				
				README.md
			
		
		
			
			
		
	
	Info
This template should help get you started developing with Vue 3 and Typescript in Vite.
Get Started
yarn install
npm run dev
<script setup> is a feature that is currently in RFC stage. To get proper IDE support for the syntax, use Volar instead of Vetur (and disable Vetur).
Type Support For .vue Imports in TS
Since 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 use the following:
If Using Volar
Run Volar: Switch TS Plugin on/off from VSCode command palette.
If Using Vetur
- Install and add @vuedx/typescript-plugin-vueto the plugins section intsconfig.json
- Delete src/shims-vue.d.tsas it is no longer needed to provide module info to Typescript
- Open src/main.tsin VSCode
- Open the VSCode command palette
- Search and run "Select TypeScript version" -> "Use workspace version"