From 7adaed101616dd0515989eb6854f1baab6891c09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Chopin?= Date: Sun, 19 Jun 2022 16:51:25 +0200 Subject: [PATCH] docs: update driverOptions --- docs/content/4.api/3.configuration.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/content/4.api/3.configuration.md b/docs/content/4.api/3.configuration.md index 993664014..6eac43711 100644 --- a/docs/content/4.api/3.configuration.md +++ b/docs/content/4.api/3.configuration.md @@ -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] @@ -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 } ] }