-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
executable file
·36 lines (36 loc) · 1.07 KB
/
nuxt.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
export default defineNuxtConfig({
extends: '@nuxt-themes/docus',
devtools: false,
hooks: {
close: () => {
process.exit()
}
},
css: ['@/assets/main.css'],
modules: [
'nuxt-content-assets', // make sure to add before content!
'@nuxt/content',
],
app: {
head: {
link: [
{
rel: "stylesheet",
href: "https://fonts.googleapis.com/css2?family=Amaranth%3Aital%2Cwght%400%2C400%3B0%2C700%3B1%2C400%3B1%2C700&display=swap"
}
]
},
},
content: {
sources: {
github: {
prefix: '/', // Prefix for routes used to query contents
driver: 'github', // Driver used to fetch contents (view unstorage documentation)
repo: "mathieunicolas/alloe-archives",
branch: "main",
dir: "/", // Directory where contents are located. It could be a subdirectory of the repository.
// Imagine you have a blog inside your content folder. You can set this option to `content/blog` with the prefix option to `/blog` to avoid conflicts with local files.
},
}
}
})