-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.js
67 lines (60 loc) · 1.69 KB
/
nuxt.config.js
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
export default defineNuxtConfig({
// Headers of the page
app: {
head: {
htmlAttrs: {
lang: "en",
},
title: "Marvin Tandler | 💻",
meta: [
{ charset: "utf-8" },
{ name: "viewport", content: "width=device-width, initial-scale=1" },
{
hid: "description",
name: "description",
content:
"Portfolio of UX & UI Designer and Frontend Developer Marvin Tandler",
},
{ name: "author", content: "Marvin Tandler" },
{
hid: "keywords",
name: "keywords",
content:
"Marvin Tandler, UX, UI, Frontend Designer, Developer, Designer, Portfolio, Webdesign, Web, Design, Webdesigner, Webdeveloper, Webentwickler, Webentwicklung",
},
],
link: [
{ rel: "icon", type: "image/png", href: "/favicons/favicon.png" },
{ rel: "icon", type: "image/svg+xml", href: "/favicons/favicon.svg" },
{
rel: "apple-touch-icon",
type: "image/png",
sizes: "180x180",
href: "/favicons/apple-touch-icon.png",
},
],
},
},
// Global CSS
css: ["@/assets/css/main.scss"],
// Style resources
styleResources: {
scss: ["./assets/scss/*.scss"],
},
// Plugins to load before mounting the App
plugins: [
{ src: "@/plugins/particles.js", mode: "client" },
{ src: "@/plugins/mobileVh.js", mode: "client" },
{ src: "@/plugins/dynamicThemeColor.js", mode: "client" },
],
// Nuxt.js modules
modules: ["@nuxt/image"],
vite: {
optimizeDeps: {
exclude: ["date-fns"],
},
},
// Build configuration
build: {},
compatibilityDate: "2025-02-28",
});