Skip to content

Commit 3b0492a

Browse files
fix: fixed Vue CLI npm name
1 parent f67a3bc commit 3b0492a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/guide/installation.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ Vue provides an [official CLI](https://github.com/vuejs/vue-cli) for quickly sca
4545
The CLI assumes prior knowledge of Node.js and the associated build tools. If you are new to Vue or front-end build tools, we strongly suggest going through <a href="./">the guide</a> without any build tools before using the CLI.
4646
:::
4747

48-
For Vue 3, you should use Vue CLI v4.5 available on `npm` as `@vue/cli@next`. To upgrade, you need to reinstall the latest version of `@vue/cli` globally:
48+
For Vue 3, you should use Vue CLI v4.5 available on `npm` as `@vue/cli`. To upgrade, you need to reinstall the latest version of `@vue/cli` globally:
4949

5050
```bash
51-
yarn global add @vue/cli@next
51+
yarn global add @vue/cli
5252
# OR
53-
npm install -g @vue/cli@next
53+
npm install -g @vue/cli
5454
```
5555

5656
Then in the Vue projects, run

src/guide/typescript-support.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ See [TypeScript compiler options docs](https://www.typescriptlang.org/docs/handb
3434

3535
```bash
3636
# 1. Install Vue CLI, if it's not already installed
37-
npm install --global @vue/cli@next
37+
npm install --global @vue/cli
3838

3939
# 2. Create a new project, then choose the "Manually select features" option
4040
vue create my-project-name

0 commit comments

Comments
 (0)