51 lines
1.2 KiB
TypeScript
51 lines
1.2 KiB
TypeScript
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
import CanvasModule from './transformer/canvas/module'
|
|
|
|
export default defineNuxtConfig({
|
|
modules: [CanvasModule, "@nuxt/content", "@nuxtjs/color-mode"],
|
|
css: ['~/assets/global.css'],
|
|
content: {
|
|
ignores: ['\\.', '-', '\\.csv', '\\.xls'],
|
|
documentDriven: {
|
|
injectPage: true,
|
|
},
|
|
ignores: [
|
|
'\\.',
|
|
'-',
|
|
'\\.xls',
|
|
'\\.csv'
|
|
],
|
|
contentHead: true,
|
|
markdown: {
|
|
toc: { depth: 3, searchDepth: 3 },
|
|
remarkPlugins: [
|
|
'remark-breaks',
|
|
'remark-ofm',
|
|
'remark-mdc',
|
|
'remark-emoji',
|
|
'remark-gfm',
|
|
]
|
|
},
|
|
canvas: {
|
|
remarkPlugins: [
|
|
'remark-breaks',
|
|
'remark-ofm',
|
|
'remark-mdc',
|
|
'remark-emoji',
|
|
'remark-gfm',
|
|
],
|
|
},
|
|
sources: {
|
|
content: {
|
|
dir: "",
|
|
driver: "github",
|
|
repo: "peaceultime/system-aspect",
|
|
branch: "master",
|
|
ttl: 300,
|
|
token: "0f44a3dd730bc7bb54343566a7d7cb930b40bbdd",
|
|
apiURL: "https://git.peaceultime.com/api/v1",
|
|
cdnURL: "https://git.peaceultime.com/",
|
|
}
|
|
}
|
|
}
|
|
}) |