mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
Co-authored-by: Daniel Roe <daniel@roe.dev> Co-authored-by: Sébastien Chopin <seb@nuxt.com>
39 lines
808 B
TypeScript
39 lines
808 B
TypeScript
import ui from '../src/module'
|
|
|
|
export default defineNuxtConfig({
|
|
// @ts-ignore
|
|
modules: [
|
|
ui,
|
|
'@vueuse/nuxt',
|
|
'@nuxt/content',
|
|
'@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
|
|
},
|
|
// @ts-ignore
|
|
$production: {
|
|
routeRules: {
|
|
'/api/_content/**': { isr: true, static: true },
|
|
'/api/component-meta/**': { isr: true, static: true }
|
|
}
|
|
}
|
|
})
|