mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-19 15:10:58 +00:00
docs: fix addServerScanDir
example
This commit is contained in:
parent
c5ff169c3a
commit
7cd02e2909
@ -428,7 +428,7 @@ export default defineNuxtModule({
|
|||||||
},
|
},
|
||||||
setup(options) {
|
setup(options) {
|
||||||
const resolver = createResolver(import.meta.url)
|
const resolver = createResolver(import.meta.url)
|
||||||
addServerScanDir(resolver.resolve('./runtime/server/routes'))
|
addServerScanDir(resolver.resolve('./runtime/server'))
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user