docs: fix local modules

This commit is contained in:
Sébastien Chopin 2023-03-08 17:06:22 +01:00 committed by GitHub
parent 8732720221
commit c4222b1f6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ description: Use the modules/ directory to automatically register local modules
# Modules Directory # Modules Directory
::StabilityEdge :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. 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.
@ -49,13 +49,11 @@ When starting Nuxt, the `hello` module will be registered and the `/api/hello` r
The local modules are registered by alphabetical order. You can change the order by prefixing with a number if front of each directory: The local modules are registered by alphabetical order. You can change the order by prefixing with a number if front of each directory:
`ˋ`md ```md
modules/ modules/
1.first-module/ 1.first-module/
index.ts index.ts
2.second-module.ts 2.second-module.ts
ˋ`ˋ ```
:ReadMore{link="/docs/guide/going-further/modules"} :ReadMore{link="/docs/guide/going-further/modules"}
::