forked from DreamCloud-Development/moods.js
-
Notifications
You must be signed in to change notification settings - Fork 1
/
nuxt.config.ts
80 lines (80 loc) · 1.8 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
export default defineNuxtConfig({
devtools: { enabled: true },
compatibilityDate: "2024-09-30",
modules: [
"@nuxtjs/tailwindcss",
"@nuxtjs/google-fonts",
"@nuxtjs/harlem",
"nuxt-icon",
"@nuxtjs/device",
],
googleFonts: {
families: {
Lexend: "100..900",
},
},
app: {
head: {
title: "Genesis™",
charset: "utf-8",
viewport: "width=device-width, initial-scale=1",
link: [
{ rel: "icon", href: "/favicon.png" },
{ rel: "manifest", href: "/manifest.json" },
],
meta: [
{
property: "og:site_name",
content: "Genesis™",
},
{
name: "theme-color",
content: "#d9934f",
},
],
htmlAttrs: {
"data-theme": "cupcake",
},
},
},
router: {
middleware: ["auth"],
},
buildModules: ["@nuxtjs/pwa"],
pwa: {
icon: {
source: "/img/Genesis.png",
purpose: "any",
},
meta: {
theme_color: "#d9934f",
mobileAppIOS: true,
ogHost: "https://music.creativeplatform.xyz",
ogImage: {
path: "/img/Genesis.png",
width: 1200,
height: 630,
type: "image/png",
},
twitterCard: "summary_large_image",
twitterSite: "@creativecrtv",
twitterCreator: "@0xsirgawain",
},
manifest: {
name: "Genesis™",
short_name: "Genesis",
description:
"Your new home for discovering new music. Discover new artists and take part in their evolution.",
display: "standalone",
background_color: "#ffffff",
start_url: "/",
useWebmanifestExtension: false,
},
workbox: {
manifest: {
crossOrigin: "use-credentials",
},
cachingExtensions: "@/plugins/workbox-range-request.js",
},
},
});