Skip to content

Commit 8cc83ab

Browse files
authored
add vite and update devtools (#249)
1 parent 8c1e45a commit 8cc83ab

File tree

1 file changed

+31
-1
lines changed

1 file changed

+31
-1
lines changed

src/guide/installation.md

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,16 @@ Detailed release notes for each version are available on [GitHub](https://github
88

99
## Vue Devtools
1010

11-
> Currently not available for Vue 3
11+
> Vue Devtools for Vue 3 requires at least `vue@^3.0.0-rc.1`
1212
1313
When using Vue, we recommend also installing the [Vue Devtools](https://github.com/vuejs/vue-devtools#vue-devtools) in your browser, allowing you to inspect and debug your Vue applications in a more user-friendly interface.
1414

15+
[Get the Chrome Extension](https://chrome.google.com/webstore/detail/vuejs-devtools/ljjemllljcmogpfapbkkighbhhppjdbg)
16+
17+
[Get the Firefox Addon](https://addons.mozilla.org/en-US/firefox/addon/vue-js-devtools/)
18+
19+
[Get the standalone Electron app](https://github.com/vuejs/vue-devtools/blob/dev/packages/shell-electron/README.md)
20+
1521
## CDN
1622

1723
For prototyping or learning purposes, you can use the latest version with:
@@ -40,3 +46,27 @@ The CLI assumes prior knowledge of Node.js and the associated build tools. If yo
4046
:::
4147

4248
For beta, Vue CLI now has experimental support via [vue-cli-plugin-vue-next](https://github.com/vuejs/vue-cli-plugin-vue-next).
49+
50+
## Vite
51+
52+
[Vite](https://github.com/vitejs/vite) is a web development build tool that allows for lighting fast serving of code due its native ES Module import approach.
53+
54+
Vue projects can quickly be set up with Vite by running the following commands in your terminal.
55+
56+
With NPM:
57+
58+
```bash
59+
$ npm init vite-app <project-name>
60+
$ cd <project-name>
61+
$ npm install
62+
$ npm run dev
63+
```
64+
65+
Or with Yarn:
66+
67+
```bash
68+
$ yarn create vite-app <project-name>
69+
$ cd <project-name>
70+
$ yarn
71+
$ yarn dev
72+
```

0 commit comments

Comments
 (0)