We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96b6721 commit 4aaa843Copy full SHA for 4aaa843
src/guide/migration/migration-build.md
@@ -53,18 +53,16 @@ The following workflow walks through the steps of migrating an actual Vue 2 app
53
```diff
54
"dependencies": {
55
- "vue": "^2.6.12",
56
-+ "vue": "^3.1.0-0",
57
-+ "@vue/compat": "^3.1.0-0"
++ "vue": "^3.1.0",
++ "@vue/compat": "^3.1.0"
58
...
59
},
60
"devDependencies": {
61
- "vue-template-compiler": "^2.6.12"
62
-+ "@vue/compiler-sfc": "^3.1.0-0"
++ "@vue/compiler-sfc": "^3.1.0"
63
}
64
```
65
66
-> Note: the -0 at the end of the version is to account for pre-releases.
67
-
68
[Example commit](https://github.com/vuejs/vue-hackernews-2.0/commit/14f6f1879b43f8610add60342661bf915f5c4b20)
69
70
3. In the build setup, alias `vue` to `@vue/compat` and enable compat mode via Vue compiler options.
0 commit comments