Skip to content

Commit bea584c

Browse files
committed
chore: remove finished todos
1 parent b7e757e commit bea584c

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

generator/index.js

+1-18
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,6 @@ module.exports = (api) => {
6161

6262
api.exitLog('Installed vuex 4.0.')
6363
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({})`
6964
}
7065

7166
if (api.hasPlugin('router') || api.generator.pkg.dependencies['router']) {
@@ -78,19 +73,7 @@ module.exports = (api) => {
7873
api.exitLog('Installed vue-router 4.0.')
7974
api.exitLog('See the documentation at https://github.com/vuejs/vue-router-next')
8075

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:
9477
// * Catch all routes (`/*`) must now be defined using a parameter with a custom regex: `/:catchAll(.*)`
9578
// * `keep-alive` is not yet supported
9679
// * Partial support of per-component navigation guards. No `beforeRouteEnter`

0 commit comments

Comments
 (0)