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: docs/guide/prototyping.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
# Instant Prototyping
2
2
3
-
You can rapidly prototype with just a single `*.vue` file with the `vue serve` and `vue build` commands, but they require an additional global addon to be installed first:
3
+
You can rapidly prototype with just a single `*.vue` file with the `vue serve` and `vue build` commands, but they require a global addon to be installed along with the Vue CLI:
4
4
5
5
```bash
6
-
npm install -g @vue/cli-service-global
6
+
npm install -g @vue/cli @vue/cli-service-global
7
7
# or
8
-
yarn global add @vue/cli-service-global
8
+
yarn global add @vue/cli @vue/cli-service-global
9
9
```
10
10
11
11
The drawback of `vue serve` is that it relies on globally installed dependencies which may be inconsistent on different machines. Therefore this is only recommended for rapid prototyping.
0 commit comments