nuxt / nuxt/bridge

Support vue compat

Open
#53 1 comment 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app enhancement
Dominant language
TypeScript
Stars
285
Forks
33
Avg merge
22h 38m
Merged PRs (30d)
3

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the Vue compat build in packages/vue-compat and the existing Nuxt Bridge configuration around nuxt.config. Investigate whether a flag can enable Vue 3 compatibility and whether the listed pages, Options API, and middleware behaviors are supported; done means documenting feasibility and defining or implementing the viable migration support.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxt
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.