docs: add links to discussions for work-in-progress (#3005)

This commit is contained in:
Daniel Roe 2022-01-31 10:59:32 +00:00 committed by GitHub
parent 18d8bb2019
commit 47dfb7b519
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 18 deletions

View File

@ -25,24 +25,25 @@ Noticeable and/or breaking changes for Nuxt 3 other than the requirements of Nux
The below table highlights an overall feature comparison:
Feature / Version | Nuxt 2 | Nuxt 3 | Changes required
--------------------------|---------|----------|------------------
Vue Version | 2 | 3 | Yes
`app.vue` | ❌ | ✅ | -
Assets | ✅ | ✅ | No
Components | ✅ | ✅ | No
Layouts | ✅ | ✅ | Yes
Middleware | ✅ | ✅ | Yes
Error Pages | ✅ | 🚧 | Yes
Pages | ✅ | ✅ | Yes
Pages: Dynamic Params | ✅ | ✅ | Yes
Pages: _.vue | ✅ | ✅ | Yes (new naming system)
Plugins | ✅ | ✅ | Yes (compatible by default)
Store | ✅ | 🚧 | Yes
Transitions | ✅ | ✅ | ?
Suspense | ❌ | ✅ | -
Options API: `asyncData` | ✅ | ✅ | Yes (use `defineNuxtComponent`)
Options API: `fetch` | ✅ | ❌ | Use `asyncData` instead
Feature / Version | Nuxt 2 | Nuxt 3 | Changes required | More information
--------------------------|---------|----------|---------------------------------|------------------
Vue Version | 2 | 3 | Yes |
`app.vue` | ❌ | ✅ | - |
Suspense | ❌ | ✅ | - |
Assets | ✅ | ✅ | No |
Components | ✅ | ✅ | No |
Layouts | ✅ | ✅ | Yes |
Middleware | ✅ | ✅ | Yes |
Pages | ✅ | ✅ | Yes |
Pages: Dynamic Params | ✅ | ✅ | Yes |
Pages: _.vue | ✅ | ✅ | Yes (new naming system) |
Plugins | ✅ | ✅ | Yes (compatible by default) |
Transitions | ✅ | ✅ | ? |
Options API: `asyncData` | ✅ | ✅ | Yes (use `defineNuxtComponent`) |
Options API: `fetch` | ✅ | ❌ | Use `asyncData` instead |
Error Pages | ✅ | 🚧 | Yes | [Handling runtime errors](https://github.com/nuxt/framework/discussions/559)
Store | ✅ | 🚧 | Yes | [Global store support](https://github.com/nuxt/framework/discussions/571)
Static builds | ✅ | 🚧 | | [Route Caching rules (Hybrid)](https://github.com/nuxt/framework/discussions/560)
### Module Compatibility