Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zzxming/vue3ts-template
https://github.com/zzxming/vue3ts-template
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/zzxming/vue3ts-template
- Owner: zzxming
- Created: 2024-10-08T09:26:20.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-11-29T07:17:07.000Z (about 1 month ago)
- Last Synced: 2024-11-29T08:26:34.007Z (about 1 month ago)
- Language: TypeScript
- Size: 78.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vue3ts-template
This template should help get you started developing with Vue 3 in Vite.
## Recommended IDE Setup
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur).
## Type Support for `.vue` Imports in TS
TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) to make the TypeScript language service aware of `.vue` types.
## Customize configuration
See [Vite Configuration Reference](https://vitejs.dev/config/).
## Project Setup
```sh
pnpm install
```### Compile and Hot-Reload for Development
```sh
pnpm dev
```### Type-Check, Compile and Minify for Production
```sh
pnpm build
```### Run Unit Tests with [Vitest](https://vitest.dev/)
```sh
pnpm test
```### Lint with [ESLint](https://eslint.org/)
```sh
pnpm lint
```