-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
50 lines (49 loc) · 1.75 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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: '2024-07-10',
modules: [
'@nuxtjs/tailwindcss',
'@nuxtjs/plausible',
'nuxt-svgo',
],
app: {
// baseURL: '/mattiamueggler.ch/',
// TODO: triggers the same bug as here: https://github.com/nuxt/nuxt/issues/20446#issuecomment-2205452080
// buildAssetsDir: 'assets',
head: {
title: "mattiamueggler.ch",
htmlAttrs: {
lang: 'en',
},
charset: 'utf-8',
viewport: 'width=device-width, initial-scale=1',
meta: [
{ name : "title", content: "Mattia Müggler"},
{ name : "ogTitle", content: "Mattia Müggler"},
{ name : "description", content: "Hi, my name is Mattia Müggler. I'm twenty-years-old and work as a software engineer. This page will show you more information about me."},
{ name : "ogDescription", content: "Hi, my name is Mattia Müggler. I'm twenty-years-old and work as a software engineer. This page will show you more information about me."},
{ name : "theme-color", content: "#90E0EF"},
]
}
},
// routeRules: {
// "/**": { ssr: true },
// },
devtools: {enabled: true},
devServer: { port: 8082},
css: ['~/assets/style.scss'],
plausible: {
domain: 'mattiamueggler.ch',
},
runtimeConfig: {
driveUploadUrl: '',
driveDownloadUrl: '',
drivePassword: ''
},
vite: {
esbuild: {
drop: ['debugger'],
pure: ['console.log', 'console.error', 'console.warn', 'console.debug', 'console.trace'],
},
},
})