mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 06:05:11 +00:00
21 lines
397 B
TypeScript
Executable File
21 lines
397 B
TypeScript
Executable File
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
|
|
}
|
|
})
|