-
Notifications
You must be signed in to change notification settings - Fork 22
/
nuxt.config.ts
66 lines (57 loc) · 1.61 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
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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
pages: true,
/**
* Nuxt.js modules
*/
modules: [
// Doc: https://tailwindcss.nuxtjs.org/
"@nuxtjs/tailwindcss",
// Doc: https://image.nuxtjs.org/
"@nuxt/image-edge",
// Doc: https://content.nuxtjs.org/
"@nuxt/content",
// Doc: https://vueuse.org/guide/#installation
"@vueuse/nuxt",
// Doc: https://color-mode.nuxtjs.org/
"@nuxtjs/color-mode",
// Doc: https://github.com/nuxt-modules/icon
"nuxt-icon",
],
/**
* <link rel="preconnect" href="https://fonts.googleapis.com">
* <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
* <link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap" rel="stylesheet">
*/
app: {
head: {
link: [
{
rel: "preconnect",
href: "https://fonts.googleapis.com",
},
{
rel: "preconnect",
href: "https://fonts.gstatic.com",
},
{
href: "https://fonts.googleapis.com/css2?Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Poppins:ital,wght@0,100;0,400;0,600;0,700;1,400&display=swap",
rel: "stylesheet",
},
],
},
},
content: {
// https://content.nuxtjs.org/api/configuration
documentDriven: true,
markdown: {
anchorLinks: false,
},
},
colorMode: {
classSuffix: "",
},
tailwindcss: {
cssPath: "./assets/css/tailwind.css",
},
});