You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22-9
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,11 @@ This is the repository for Vue 3.0.
9
9
- Scaffold via [Vite](https://github.com/vitejs/vite):
10
10
11
11
```bash
12
-
npm init vite-app hello-vue3 # OR yarn create vite-app hello-vue3
12
+
# npm
13
+
npm init @vitejs/app
14
+
# yarn
15
+
yarn create @vitejs/app
16
+
# select vue template
13
17
```
14
18
15
19
- 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
61
65
62
66
### IDE Support
63
67
64
-
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.
68
+
It is recommended to use [VSCode](https://code.visualstudio.com/). There are currently two viable extensions for Single-File Components (SFCs) support:
69
+
70
+
-[Vetur](https://marketplace.visualstudio.com/items?itemName=octref.vetur) (recommended if you are used to Vetur features)
71
+
-[Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (recommended if using TypeScript with SFCs, or `<script setup>` syntax)
72
+
73
+
### TypeScript Support
74
+
75
+
- All Vue 3 packages ship with types.
76
+
-[vue-tsc](https://github.com/johnsoncodehk/vue-tsc) perform TypeScript type checks / diagnostics on Vue SFCs via the command line.
77
+
-[vue-dts-gen](https://github.com/egoist/vue-dts-gen): generate TypeScript definitions from Vue SFCs.
0 commit comments