Skip to content

Commit

Permalink
linkfix: vitejs/vite-plugin-vue2 or underfin/vite-plugin-vue2
Browse files Browse the repository at this point in the history
  • Loading branch information
simon04 committed Dec 10, 2022
1 parent 57293fc commit 79b2f6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/migration-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ The following workflow walks through the steps of migrating an actual Vue 2 app

- If using custom webpack setup: Upgrade `vue-loader` to `^16.0.0`.
- If using `vue-cli`: upgrade to the latest `@vue/cli-service` with `vue upgrade`
- (Alternative) migrate to [Vite](https://vitejs.dev/) + [vite-plugin-vue2](https://github.com/vitejs/vite-plugin-vue2). [[Example commit](https://github.com/vuejs/vue-hackernews-2.0/commit/565b948919eb58f22a32afca7e321b490cb3b074)]
- (Alternative) migrate to [Vite](https://vitejs.dev/) + [@vitejs/plugin-vue2](https://github.com/vitejs/vite-plugin-vue2) (Vue 2.7) or [vite-plugin-vue2](https://github.com/underfin/vite-plugin-vue2) (Vue 2.6 or earlier). [[Example commit](https://github.com/vuejs/vue-hackernews-2.0/commit/565b948919eb58f22a32afca7e321b490cb3b074)]

2. In `package.json`, update `vue` to 3.1, install `@vue/compat` of the same version, and replace `vue-template-compiler` (if present) with `@vue/compiler-sfc`:

Expand Down

0 comments on commit 79b2f6b

Please sign in to comment.