nuxt / bridge

🌉 Experience Nuxt 3 features on existing Nuxt 2 projects
MIT License
273 stars 29 forks source link

Support vue compat #53

Open pi0 opened 3 years ago

pi0 commented 3 years ago

https://github.com/vuejs/vue-next/tree/master/packages/vue-compat

Investigate to see if possible to support vue3 compat build with a flag in nuxt.config to make it easier for users migrating from nuxt2 to nuxt3.

We probably also need complimentary flags to support like _ pages routes, options API (validate, asyncData, fetch) and middleware support. If some are not possible we might try codemods via CLI but since this is the official take of vue3 for the migration plan and we are already doing it for kit and nitro, worth a try.

Luferov commented 2 years ago

Is it possible run nuxt-bridge with vue compat?