Skip to content

Commit

Permalink
docs: update driverOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Atinux committed Jun 19, 2022
1 parent 96c161d commit 7adaed1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/content/4.api/3.configuration.md
Expand Up @@ -74,6 +74,7 @@ The watcher is a development feature and will not be included in production.
- Default: `['content']`{lang=ts}

Define different sources for contents.

Contents can located in multiple places, in multiple directories or in remote git repositories.

```ts [nuxt.config.ts]
Expand All @@ -85,9 +86,8 @@ export default defineNuxtConfig({
name: 'fa-ir',
prefix: '/fa', // All contents inside this source will be prefixed with `/fa`
driver: 'fs',
driverOptions: {
base: resolve(__dirname, 'content-fa') // Path for source directory
}
// ...driverOptions
base: resolve(__dirname, 'content-fa') // Path for source directory
}
]
}
Expand Down

0 comments on commit 7adaed1

Please sign in to comment.