mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 18:13:54 +00:00
21 lines
397 B
TypeScript
21 lines
397 B
TypeScript
|
import { createResolver } from 'nuxt/kit'
|
||
|
|
||
|
const { resolve } = createResolver(import.meta.url)
|
||
|
|
||
|
export default defineNuxtConfig({
|
||
|
// https://github.com/nuxt-themes/docus
|
||
|
extends: '@nuxt-themes/docus',
|
||
|
content: {
|
||
|
sources: {
|
||
|
docs: {
|
||
|
driver: 'fs',
|
||
|
prefix: '/',
|
||
|
base: resolve('../docs')
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
experimental: {
|
||
|
renderJsonPayloads: false
|
||
|
}
|
||
|
})
|