2021-07-28 07:50:09 +00:00
|
|
|
import { withDocus } from '@docus/app'
|
2021-06-07 11:49:37 +00:00
|
|
|
|
|
|
|
export default withDocus({
|
2021-07-28 07:50:09 +00:00
|
|
|
// 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'
|
|
|
|
]
|
2021-06-07 11:49:37 +00:00
|
|
|
})
|