mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-01 01:47:11 +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
|
||
|
}
|
||
|
})
|