-
Notifications
You must be signed in to change notification settings - Fork 1
/
nuxt.config.ts
97 lines (92 loc) · 2.88 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
ssr: true,
// nitro: {
// preset: "vercel",
// },
css: ["@/styles/core.scss", "@/styles/app/index.scss"],
modules: ['@pinia/nuxt'],
pinia: {
storesDirs: ['./stores/**'],
},
components: {
global: true,
dirs: [
"~/components/lib/",
"~/components/app/",
"~/components/index/",
"~/components/webGL/",
],
},
ignore: [
'~/pages/ignore/',
'~/pages/ignore/_templatePage.transitions.ts',
],
app: {
head: {
meta: [
{
name: "viewport",
content:
"width=device-width initial-scale=1 maximum-scale=1.2 user-scalable=no",
},
{
charset: "utf-8",
},
{
name: "theme-color",
content: "#000000",
},
],
title: "Nam-Hai Boilerplate",
link: [
// {
// rel: "preload",
// // href: '/fonts/founders-grotesk-light.woff2',
// href: "/fonts/GT-America-Standard-Regular.ttf",
// as: "font",
// type: "font/ttf",
// crossorigin: "anonymous",
// },
// {
// rel: "icon",
// type: "image/png",
// sizes: "32x32",
// href: "/favicon/favicon-32x32.png",
// class: "dark",
// },
// {
// rel: "icon",
// type: "image/png",
// sizes: "16x16x",
// href: "/favicon/favicon-16x16.png",
// class: "dark",
// },
// {
// rel: "icon",
// type: "image/png",
// sizes: "32x32",
// href: "/favicon/favicon-32x32_light.png",
// class: "light",
// },
// {
// rel: "icon",
// type: "image/png",
// sizes: "16x16x",
// href: "/favicon/favicon-16x16_light.png",
// class: "light",
// },
// {
// rel: "apple-touch-icon",
// sizes: "180x180",
// href: "/favicon/apple-touch-icon.png"
// },
// {
// rel: "mask-icon",
// href: "/favicon/safari-pinned-tab.svg",
// color: "#292929"
// }
],
},
},
});