2024-03-12 13:26:00 +00:00
# views
2024-01-27 16:05:19 +00:00
2024-03-12 13:26:00 +00:00
This template should help get you started developing with Vue 3 in Vite.
2024-01-27 16:05:19 +00:00
2024-03-12 13:26:00 +00:00
## Recommended IDE Setup
2024-01-27 16:05:19 +00:00
2024-03-12 13:26:00 +00:00
[VSCode ](https://code.visualstudio.com/ ) + [Volar ](https://marketplace.visualstudio.com/items?itemName=Vue.volar ) (and disable Vetur).
2024-01-27 16:05:19 +00:00
2024-03-12 13:26:00 +00:00
## Type Support for `.vue` Imports in TS
2024-01-27 16:05:19 +00:00
2024-03-12 13:26:00 +00:00
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.
2024-01-27 16:05:19 +00:00
2024-03-12 13:26:00 +00:00
## Customize configuration
2024-01-27 16:05:19 +00:00
2024-03-12 13:26:00 +00:00
See [Vite Configuration Reference ](https://vitejs.dev/config/ ).
## Project Setup
```sh
npm install
```
### Compile and Hot-Reload for Development
```sh
npm run dev
2024-02-25 15:12:42 +00:00
```
2024-01-27 16:05:19 +00:00
2024-03-12 13:26:00 +00:00
### Type-Check, Compile and Minify for Production
```sh
npm run build
```
### Lint with [ESLint](https://eslint.org/)
```sh
npm run lint
```