mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-16 13:48:13 +00:00
docs: add edge banners on versions
and modules (#19448)
This commit is contained in:
parent
f14b896c35
commit
44d4aba283
@ -7,6 +7,8 @@ description: Use the modules/ directory to automatically register local modules
|
||||
|
||||
# Modules Directory
|
||||
|
||||
::StabilityEdge
|
||||
|
||||
Nuxt scans the `modules/` directory and loads them before starting. It is a good place to place any local modules you develop while building your application.
|
||||
|
||||
The auto-registered files patterns are:
|
||||
@ -46,3 +48,5 @@ export default defineEventHandler(() => {
|
||||
When starting Nuxt, the `hello` module will be registered and the `/api/hello` route will be available.
|
||||
|
||||
:ReadMore{link="/docs/guide/going-further/modules"}
|
||||
|
||||
::
|
||||
|
@ -70,6 +70,8 @@ const nuxtApp = {
|
||||
}
|
||||
```
|
||||
|
||||
:StabilityEdge{title="nuxtApp.versions"}
|
||||
|
||||
For more details, check out [the source code](https://github.com/nuxt/nuxt/blob/main/packages/nuxt/src/app/nuxt.ts).
|
||||
|
||||
## Runtime Context vs. Build Context
|
||||
|
Loading…
Reference in New Issue
Block a user