Files
ui/docs/nuxt.config.ts
2023-05-20 19:13:58 +02:00

40 lines
790 B
TypeScript

import ui from '../src/module'
export default defineNuxtConfig({
// @ts-ignore
modules: [
ui,
'@vueuse/nuxt',
'@nuxt/content',
'@nuxt/devtools',
'@nuxthq/studio',
'@nuxtjs/plausible',
'nuxt-lodash',
'nuxt-component-meta'
],
content: {
documentDriven: true,
highlight: {
theme: {
light: 'material-lighter',
dark: 'material-palenight'
},
preload: ['json', 'js', 'ts', 'html', 'css', 'vue', 'diff', 'shell', 'markdown', 'yaml', 'bash', 'ini']
}
},
ui: {
global: true,
icons: ['heroicons', 'simple-icons']
},
typescript: {
strict: false,
includeWorkspace: true
},
routeRules: {
'/': { redirect: '/getting-started' }
},
generate: {
routes: ['/getting-started']
}
})