@ -9,7 +9,11 @@ This is the repository for Vue 3.0.
- Scaffold via [Vite](https://github.com/vitejs/vite):
```bash
npm init vite-app hello-vue3 # OR yarn create vite-app hello-vue3
# npm
npm init @vitejs/app
# yarn
yarn create @vitejs/app
# select vue template
```
- Scaffold via [vue-cli](https://cli.vuejs.org/):
@ -61,18 +65,27 @@ We are working on a new version of the Devtools with a new UI and refactored int
### IDE Support
It is recommended to use [VSCode](https://code.visualstudio.com/) with our official extension [Vetur](https://marketplace.visualstudio.com/items?itemName=octref.vetur), which provides comprehensive IDE support for Vue 3.
It is recommended to use [VSCode](https://code.visualstudio.com/). There are currently two viable extensions for Single-File Components (SFCs) support:
- [Vetur](https://marketplace.visualstudio.com/items?itemName=octref.vetur) (recommended if you are used to Vetur features)
- [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (recommended if using TypeScript with SFCs, or `<script setup>` syntax)
### TypeScript Support
- All Vue 3 packages ship with types.
- [vue-tsc](https://github.com/johnsoncodehk/vue-tsc) perform TypeScript type checks / diagnostics on Vue SFCs via the command line.
- [vue-dts-gen](https://github.com/egoist/vue-dts-gen): generate TypeScript definitions from Vue SFCs.