Skip to content

Commit 79b2f6b

Browse files
authored
linkfix: vitejs/vite-plugin-vue2 or underfin/vite-plugin-vue2
1 parent 57293fc commit 79b2f6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/migration-build.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The following workflow walks through the steps of migrating an actual Vue 2 app
4646

4747
- If using custom webpack setup: Upgrade `vue-loader` to `^16.0.0`.
4848
- If using `vue-cli`: upgrade to the latest `@vue/cli-service` with `vue upgrade`
49-
- (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)]
49+
- (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)]
5050

5151
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`:
5252

0 commit comments

Comments
 (0)