Skip to content

Commit 4aaa843

Browse files
committed
chore: remove pre-release in migration build
1 parent 96b6721 commit 4aaa843

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/guide/migration/migration-build.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,16 @@ The following workflow walks through the steps of migrating an actual Vue 2 app
5353
```diff
5454
"dependencies": {
5555
- "vue": "^2.6.12",
56-
+ "vue": "^3.1.0-0",
57-
+ "@vue/compat": "^3.1.0-0"
56+
+ "vue": "^3.1.0",
57+
+ "@vue/compat": "^3.1.0"
5858
...
5959
},
6060
"devDependencies": {
6161
- "vue-template-compiler": "^2.6.12"
62-
+ "@vue/compiler-sfc": "^3.1.0-0"
62+
+ "@vue/compiler-sfc": "^3.1.0"
6363
}
6464
```
6565

66-
> Note: the -0 at the end of the version is to account for pre-releases.
67-
6866
[Example commit](https://github.com/vuejs/vue-hackernews-2.0/commit/14f6f1879b43f8610add60342661bf915f5c4b20)
6967

7068
3. In the build setup, alias `vue` to `@vue/compat` and enable compat mode via Vue compiler options.

0 commit comments

Comments
 (0)