mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 15:15:19 +00:00
42 lines
757 B
TypeScript
42 lines
757 B
TypeScript
import { withDocus } from '@docus/app'
|
|
|
|
export default withDocus({
|
|
// TODO: Fix that from @docus/core
|
|
// Follow: https://github.com/docusgen/core/issues/22
|
|
generate: {
|
|
routes () {
|
|
return [
|
|
'/get-started/installation'
|
|
]
|
|
}
|
|
},
|
|
// TODO: Remove that temporary fix
|
|
// Seem to be related to latest {Vite/nuxt-vite} version
|
|
vite: {
|
|
server: {
|
|
fs: {
|
|
strict: false
|
|
}
|
|
}
|
|
},
|
|
/**
|
|
* Has to specify rootDir as we use nuxt-extend
|
|
*/
|
|
rootDir: __dirname,
|
|
|
|
/**
|
|
* Modules
|
|
*/
|
|
buildModules: [
|
|
'@nuxt/typescript-build',
|
|
'@docus/github',
|
|
'@docus/twitter',
|
|
'vue-plausible'
|
|
],
|
|
publicRuntimeConfig: {
|
|
plausible: {
|
|
domain: process.env.PLAUSIBLE_DOMAIN
|
|
}
|
|
}
|
|
})
|