mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-16 13:48:13 +00:00
docs: add local modules ordering
This commit is contained in:
parent
b73ca91437
commit
5977adb4d4
@ -47,6 +47,15 @@ export default defineEventHandler(() => {
|
||||
|
||||
When starting Nuxt, the `hello` module will be registered and the `/api/hello` route will be available.
|
||||
|
||||
The local modules are registered by alphabetical order. You can change the order by prefixing with a number if front of each directory:
|
||||
|
||||
`ˋ`md
|
||||
modules/
|
||||
1.first-module/
|
||||
index.ts
|
||||
2.second-module.ts
|
||||
ˋ`ˋ
|
||||
|
||||
:ReadMore{link="/docs/guide/going-further/modules"}
|
||||
|
||||
::
|
||||
|
Loading…
Reference in New Issue
Block a user