diff --git a/src/breaking-changes/async-components.md b/src/breaking-changes/async-components.md index baa5a12..7591264 100644 --- a/src/breaking-changes/async-components.md +++ b/src/breaking-changes/async-components.md @@ -58,7 +58,7 @@ const asyncModalWithOptions = defineAsyncComponent({ ``` ::: tip NOTE -Vue Router supports a similar mechanism for asynchronously loading route components, known as *lazy loading*. Despite the similarities, this feature is distinct from Vue's support for async components. You should **not** use `defineAsyncComponent` when configuring route components with Vue Router. You can read more about this in the [Lazy Loading Routes](https://next.router.vuejs.org/guide/advanced/lazy-loading.html) section of the Vue Router documentation. +Vue Router supports a similar mechanism for asynchronously loading route components, known as *lazy loading*. Despite the similarities, this feature is distinct from Vue's support for async components. You should **not** use `defineAsyncComponent` when configuring route components with Vue Router. You can read more about this in the [Lazy Loading Routes](https://router.vuejs.org/guide/advanced/lazy-loading.html) section of the Vue Router documentation. ::: Another change that has been made from 2.x is that the `component` option is now renamed to `loader` in order to accurately communicate that a component definition cannot be provided directly. diff --git a/src/migration-build.md b/src/migration-build.md index 85f1820..1e898e1 100644 --- a/src/migration-build.md +++ b/src/migration-build.md @@ -192,11 +192,11 @@ The following workflow walks through the steps of migrating an actual Vue 2 app [Example commit](https://github.com/vuejs/vue-hackernews-2.0/commit/a6e0c9ac7b1f4131908a4b1e43641f608593f714) -9. [Upgrade `vuex` to v4](https://next.vuex.vuejs.org/guide/migrating-to-4-0-from-3-x.html). +9. [Upgrade `vuex` to v4](https://vuex.vuejs.org/guide/migrating-to-4-0-from-3-x.html). [Example commit](https://github.com/vuejs/vue-hackernews-2.0/commit/5bfd4c61ee50f358cd5daebaa584f2c3f91e0205) -10. [Upgrade `vue-router` to v4](https://next.router.vuejs.org/index.html). If you also use `vuex-router-sync`, you can replace it with a store getter. +10. [Upgrade `vue-router` to v4](https://router.vuejs.org/index.html). If you also use `vuex-router-sync`, you can replace it with a store getter. After the upgrade, to use `` and `` with `` requires using the new [scoped-slot based syntax](https://router.vuejs.org/guide/migration/#router-view-keep-alive-and-transition). diff --git a/src/recommendations.md b/src/recommendations.md index 4dde1fe..0cdb788 100644 --- a/src/recommendations.md +++ b/src/recommendations.md @@ -6,7 +6,7 @@ The supporting libraries for Vue 3 have undergone major updates. Here is a summa - Build Toolchain: Vue CLI -> [Vite](https://vitejs.dev/) - State Management: Vuex -> [Pinia](https://pinia.vuejs.org/) - IDE Support: Vetur -> [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) -- New command line TypeScript support: [vue-tsc](https://github.com/johnsoncodehk/volar/tree/master/packages/vue-tsc) +- New command line TypeScript support: [vue-tsc](https://github.com/johnsoncodehk/volar/tree/master/vue-language-tools/vue-tsc) - SSG: VuePress -> [VitePress](https://vitepress.vuejs.org/) - JSX: `@vue/babel-preset-jsx` -> [`@vue/babel-plugin-jsx`](https://github.com/vuejs/jsx-next) @@ -45,7 +45,7 @@ Vue Router 4.0 provides Vue 3 support and has a number of breaking changes of it - [GitHub](https://github.com/vuejs/pinia) - [State management chapter in new docs](https://vuejs.org/guide/scaling-up/state-management.html) -Vuex 4.0 also provides Vue 3 support with largely the same API as 3.x, and can be used if you have existing Vuex stores that need to be migrated to Vue 3. The only breaking change is [how the plugin is installed](https://next.vuex.vuejs.org/guide/migrating-to-4-0-from-3-x.html#breaking-changes). +Vuex 4.0 also provides Vue 3 support with largely the same API as 3.x, and can be used if you have existing Vuex stores that need to be migrated to Vue 3. The only breaking change is [how the plugin is installed](https://vuex.vuejs.org/guide/migrating-to-4-0-from-3-x.html#breaking-changes). ### IDE Support @@ -62,7 +62,7 @@ The devtools extension has received major updates (released as v6) to support bo ### TypeScript Support -You can now type-check and generate definition files for Vue SFCs from the command line using [vue-tsc](https://github.com/johnsoncodehk/volar/tree/master/packages/vue-tsc). +You can now type-check and generate definition files for Vue SFCs from the command line using [vue-tsc](https://github.com/johnsoncodehk/volar/tree/master/vue-language-tools/vue-tsc). Also see [TypeScript Guide in new docs](https://vuejs.org/guide/typescript/overview.html).