docs: add local modules ordering

This commit is contained in:
Sébastien Chopin 2023-03-05 10:51:10 +01:00 committed by GitHub
parent b73ca91437
commit 5977adb4d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"}
::