-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnuxt.config.ts
147 lines (141 loc) · 5.27 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
export default defineNuxtConfig({
// PR: To build your static (pre-rendered) site, you have to make sure target is set to static in your nuxt.config.js file
// SSR: To build your Nuxt project using Server Side Rendering (SSR) you need to ensure your target is server in your Nuxt config file. If the property is missing, that's fine, it's the default.
ssr: false,
build: {
transpile: ["gsap"],
},
app: {
head: {
charset: "utf-8",
htmlAttrs: { lang: "en", dir: "ltr" },
title: "David Schubert — UI/UX Designer",
meta: [
{ name: "title", content: "David Schubert — UI/UX Designer" },
{ property: "og:locale", content: "en" },
{ name: "language", content: "English" },
{ property: "name", name: "name", content: "David Schubert" },
{ charset: "utf-8" },
{ "http-equiv": "X-UA-Compatible", content: "IE=edge" },
{
"http-equiv": "Reply-to",
content: "[email protected]",
},
{
name: "viewport",
content: "width=device-width, initial-scale=1",
},
{
hid: "description",
name: "description",
content:
"I will build you website as quick as possible and with high attention to details👌",
},
{ name: "format-detection", content: "telephone=no" },
{ name: "robots", content: "all" },
{ name: "theme-color", content: "var(--surface-color)" },
{ name: "mobile-web-app-capable", content: "yes" },
{
property: "url",
name: "url",
content: "https://davidschubert.com",
},
{
property: "og:site_name",
name: "og:site_name",
content: "David Schubert",
},
{
property: "og:title",
name: "og:title",
content: "Front End Developer",
},
{
property: "og:description",
name: "og:description",
content:
"I will build you website as quick as possible and with high attention to details 👌",
},
{ property: "og:locale", name: "og:locale", content: "en" },
{
property: "og:url",
name: "og:url",
content: "https://davidschubert.com",
},
{ property: "og:type", name: "og:type", content: "website" },
{
property: "og:image",
name: "og:image",
content: "https://bogdankostyuk.xyz/logo.png",
},
{
property: "og:image:width",
name: "og:image:width",
content: "1440",
},
{
property: "og:image:height",
name: "og:image:height",
content: "1440",
},
],
link: [
{ rel: "canonical", href: "https://davidschubert.com/" },
{ rel: "icon", type: "image/svg+xml", href: "/favicon.svg" },
{
rel: "icon",
type: "image/x-icon",
href: "/favicon.ico",
sizes: "any",
},
{
rel: "icon",
type: "image/png",
sizes: "32x32",
href: "/favicon-32x32.png",
},
{
rel: "icon",
type: "image/png",
sizes: "16x16",
href: "/favicon-16x16.png",
},
{
rel: "apple-touch-icon",
sizes: "180x180",
href: "/apple-touch-icon.png",
},
{ rel: "manifest", href: "/site.webmanifest" },
],
/*style: [],*/
/*script: [
{
type: "text/javascript",
src: "/js/style.js",
body: true,
},
],*/
noscript: [
// <noscript>JavaScript is required</noscript>
{ children: "JavaScript is required 🥰" },
],
},
/* this fixes GSAP animations in onMounted hooks */
layoutTransition: false,
pageTransition: true,
//pageTransition: { name: "page", mode: "out-in" },
},
devtools: { enabled: true },
modules: ["@nuxtjs/tailwindcss"],
css: ["~/assets/css/styles.scss"],
tailwindcss: {
cssPath: ["~/assets/css/tailwind.css", { injectPosition: "first" }],
configPath: "tailwind.config",
exposeConfig: {
level: 2,
},
config: {},
viewer: true,
},
compatibilityDate: "2024-09-08",
});