forked from Miaouuu/brutal
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
80 lines (80 loc) · 1.65 KB
/
Copy pathnuxt.config.ts
File metadata and controls
80 lines (80 loc) · 1.65 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
export default defineNuxtConfig({
site: {
url: 'https://miaouuu.co',
},
devtools: { enabled: true },
experimental: {
viewTransition: true,
},
modules: ['@unocss/nuxt', '@nuxt/content', 'nuxt-simple-robots', 'nuxt-simple-sitemap', '@vueuse/nuxt'],
sitemap: {
xslTips: false,
},
nitro: {
prerender: {
routes: ['/feed.xml'],
},
},
content: {
documentDriven: {
layoutFallbacks: ['blog'],
},
markdown: {
toc: {
depth: 3,
searchDepth: 3,
},
},
},
unocss: {
preflight: true,
},
components: [
{
path: '@/components',
pathPrefix: false,
},
],
css: ['@/assets/css/globals.css'],
app: {
head: {
meta: [
{
charset: 'utf-8',
},
{
name: 'viewport',
content: 'width=device-width, initial-scale=1',
},
{
name: 'og:type',
content: 'website',
},
{
name: 'twitter:card',
content: 'summary_large_image',
},
],
link: [
{
rel: 'icon',
type: 'image/svg+xml',
href: '/logo.svg',
},
{
rel: 'preconnect',
href: 'https://fonts.bunny.net',
},
{
rel: 'stylesheet',
href: 'https://fonts.bunny.net/css2?family=DM+Serif+Text&family=Fredoka+One&family=Outfit:wght@400;500&family=Poppins:wght@300;400;500&family=Righteous&family=Sanchez&display=swap',
},
{
rel: 'alternate',
type: 'application/rss+xml',
href: 'https://miaouuu.co/feed.xml',
},
],
},
},
})