-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
92 lines (92 loc) · 2.48 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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: "2024-08-05",
ssr: false,
app: {
head: {
title: "3 in 2",
meta: [
{ charset: "utf-8" },
{
name: "viewport",
content: "width=device-width, initial-scale=1.0, viewport-fit=cover",
},
{
hid: "description",
name: "description",
content:
"Use this clock to pretend there are 72 hours in 48 or 3 days in 2. Sneak an extra day into your life. Use it wisely.",
},
{ name: "format-detection", content: "telephone=no" },
{ name: "msapplication-TileColor", content: "#000000" },
{ name: "theme-color", content: "#000000" },
{ name: "apple-mobile-web-app-status-bar-style", content: "black" },
{ name: "apple-mobile-web-app-title", content: "3 in 2" },
{ name: "apple-mobile-web-app-capable", content: "yes" },
],
link: [
{ rel: "icon", type: "image/x-icon", href: "/favicon.ico" },
{
rel: "apple-touch-icon",
type: "image/png",
href: "/apple-touch-icon.png",
},
],
},
},
css: ["@fortawesome/fontawesome-svg-core/styles.css"],
modules: ["@nuxtjs/i18n", "@nuxt/eslint", "v-plausible", "@vite-pwa/nuxt"],
components: [
{
path: "~/components",
pathPrefix: false,
},
],
i18n: {
baseUrl: () => process.env.BASE_URL || "https://3-in-2.com",
locales: [
{ code: "en", iso: "en" },
{ code: "de", iso: "de" },
],
strategy: "prefix",
defaultLocale: "en",
detectBrowserLanguage: {
useCookie: true,
cookieKey: "i18n_redirected",
redirectOn: "root",
},
},
pwa: {
manifest: {
name: "3 in 2",
short_name: "3 in 2",
description:
"Use this clock to pretend there are 72 hours in 48 or 3 days in 2. Sneak an extra day into your life. Use it wisely.",
theme_color: "#000000000",
icons: [
{
src: "pwa-192x192.png",
sizes: "192x192",
type: "image/png",
},
{
src: "pwa-512x512.png",
sizes: "512x512",
type: "image/png",
},
{
src: "pwa-512x512.png",
sizes: "512x512",
type: "image/png",
purpose: "any maskable",
},
],
},
},
plausible: {
init: {
domain: "3-in-2.com",
trackLocalhost: true,
},
},
});