mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-31 15:50:32 +00:00
parent
24cf27e57b
commit
228bc9ce21
@ -86,7 +86,7 @@ export default <Plugin> function (ctx, inject) {}
|
|||||||
```
|
```
|
||||||
|
|
||||||
::alert
|
::alert
|
||||||
You may wish to [migrate your plugins to Nuxt 3-style plugins](/docs/bridge#new-plugins-format-optional) as a next (optional) step.
|
You may wish to [migrate your plugins to Nuxt 3-style plugins](/docs/bridge/overview#new-plugins-format-optional) as a next (optional) step.
|
||||||
::
|
::
|
||||||
|
|
||||||
### `onGlobalSetup`
|
### `onGlobalSetup`
|
||||||
|
@ -28,7 +28,7 @@ When Nuxt 3 users add your module, you will not have access to the module contai
|
|||||||
|
|
||||||
Migrating to `@nuxt/bridge` is the first and most important step for supporting Nuxt 3.
|
Migrating to `@nuxt/bridge` is the first and most important step for supporting Nuxt 3.
|
||||||
|
|
||||||
If you have a fixture or example in your module, add `@nuxt/bridge` package to its config (see [example](/docs/bridge#update-nuxtconfig))
|
If you have a fixture or example in your module, add `@nuxt/bridge` package to its config (see [example](/docs/bridge/overview#update-nuxtconfig))
|
||||||
|
|
||||||
### Migrate from CommonJS to ESM
|
### Migrate from CommonJS to ESM
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user