-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
39 lines (38 loc) · 1017 Bytes
/
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
// https://nuxt.com/docs/api/configuration/nuxt-config
import { defineNuxtConfig } from "nuxt/config"
export default defineNuxtConfig({
app: {
head: {
htmlAttrs: {
lang: "en",
},
link: [
{
rel: "stylesheet",
href: "https://api.fontshare.com/v2/css?f[]=general-sans@701,1,2,401,400,700&f[]=poppins@2,900,901,701,401,400,1,700&f[]=nunito@700,501,701,401,400,500,900,901,1,2&display=swap",
},
{
rel: "stylesheet",
href: "https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap",
},
],
},
},
devtools: { enabled: true },
css: ["@/assets/style/style.css"],
components: {
global: true,
dirs: ["~/components"],
},
modules: ["@nuxt/content", "nuxt-icon", "@nuxtjs/color-mode"],
content: {
highlight: {
theme: "github-dark",
},
},
colorMode: {
preference: "system",
fallback: "latte",
classSuffix: "-theme",
},
})