File tree 1 file changed +1
-18
lines changed
1 file changed +1
-18
lines changed Original file line number Diff line number Diff line change @@ -61,11 +61,6 @@ module.exports = (api) => {
61
61
62
62
api . exitLog ( 'Installed vuex 4.0.' )
63
63
api . exitLog ( 'See the documentation at https://github.com/vuejs/vuex/tree/4.0' )
64
-
65
- // Codemod TODOs:
66
- // * Remove `Vue.use(Vuex)`
67
- // * `new Vue({ store })` -> `app.use(store)`
68
- // * optional: `new Vuex.Store({})` -> `createStore({})`
69
64
}
70
65
71
66
if ( api . hasPlugin ( 'router' ) || api . generator . pkg . dependencies [ 'router' ] ) {
@@ -78,19 +73,7 @@ module.exports = (api) => {
78
73
api . exitLog ( 'Installed vue-router 4.0.' )
79
74
api . exitLog ( 'See the documentation at https://github.com/vuejs/vue-router-next' )
80
75
81
- // Codemod TODOs:
82
- // * Remove `Vue.use(VueRouter)`
83
- // * `new VueRouter({})` -> `createRouter({})`
84
- // * `mode`:
85
- // * `mode: 'history'` -> `history: createWebHistory()`
86
- // * `mode: 'hash'` -> `history: createWebHashHistory()`
87
- // * `mode: 'abstract'` -> `history: createMemoryHistory()`
88
- // * `new Vue({ router })` -> `app.use(router)`
89
- // * Async component syntax migration as described in RFC0007
90
- // * Create the corresponding imports
91
- // * Remove unused imports (use ESLint for this task)
92
-
93
- // Others:
76
+ // Notes:
94
77
// * Catch all routes (`/*`) must now be defined using a parameter with a custom regex: `/:catchAll(.*)`
95
78
// * `keep-alive` is not yet supported
96
79
// * Partial support of per-component navigation guards. No `beforeRouteEnter`
You can’t perform that action at this time.
0 commit comments