generated from grey-software/template-nuxt-uno
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
68 lines (64 loc) · 1.54 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
export default defineNuxtConfig({
app: {
head: {
title: "Grey Software Resources",
link: [
{
rel: "icon",
type: "image/png",
href: "favicon.ico",
media: "(prefers-color-scheme: light)",
},
{
rel: "icon",
type: "image/png",
href: "favicon-dark.ico",
media: "(prefers-color-scheme: dark)",
},
],
meta: [
{ charset: "utf-8" },
{ name: "viewport", content: "width=device-width, initial-scale=1" },
{
name: "og:title",
content: "Grey Software | Open Products, Open Education!",
},
{
name: "og:description",
content:
"Grey Software is developing open products and sharing what we learn along the way!",
},
{
name: "og:image",
content: "/preview.png",
},
],
script: [],
},
},
ssr: false,
css: ["~/assets/main.css"],
modules: [
"nuxt-font-loader",
"nuxt-icon",
"@vueuse/nuxt",
"@nuxtjs/color-mode",
"@unocss/nuxt",
"@nuxt/content",
],
colorMode: {
preference: "system", // default value of $colorMode.preference
fallback: "light", // fallback value if not system preference found
classSuffix: "",
},
fontLoader: {
// local: [
// ],
external: [
{
src: "https://fonts.googleapis.com/css2?family=Inter:wght@100;@200;@300;@400;@500;@600;@700;@800&display=swap",
family: "Inter",
},
],
},
});