Skip to content

Commit 2601fec

Browse files
committed
docs: add notes about vue --version output format [ci skip]
1 parent 28fd1db commit 2601fec

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/migrating-from-v3/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ If you want to migrate manually and gradually, here are the tips:
3333
- Before: `vue upgrade [patch | minor | major]`, and it does nothing more than installing the latest versions of Vue CLI plugins.
3434
- After: `vue upgrade [plugin-name]`. Aside from upgrading the plugins, it can run migrators from plugins to help you automate the migration process. For more options for this command, please run `vue upgrade --help`.
3535

36+
#### `vue --version` Output Format Change
37+
38+
When running `vue --version`:
39+
40+
- 3.x: outputs `3.12.0`
41+
- 4.x: outputs `@vue/cli 4.0.0`
42+
3643
#### Extra Confirmation Step To Avoid Overwriting
3744

3845
When running `vue invoke` / `vue add` / `vue upgrade`, there's now an [extra confirmation step](https://github.com/vuejs/vue-cli/pull/4275) if you have uncommitted changes in the current repository.

0 commit comments

Comments
 (0)