Skip to content

Commit

Permalink
docs: add local modules ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
Atinux committed Mar 5, 2023
1 parent b73ca91 commit 5977adb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/2.guide/2.directory-structure/1.modules.md
Expand Up @@ -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"}

::

0 comments on commit 5977adb

Please sign in to comment.