mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-28 08:32:06 +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
|
||
|
}
|
||
|
})
|