-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
86 lines (86 loc) · 1.72 KB
/
nuxt.config.ts
File metadata and controls
86 lines (86 loc) · 1.72 KB
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
export default defineNuxtConfig({
modules: [
"nuxt-vitest",
"@nuxtjs/i18n-edge",
"@pinia/nuxt",
"@vite-pwa/nuxt",
],
css: [
"@fortawesome/fontawesome-svg-core/styles.css",
"~/assets/css/main.css",
],
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
i18n: {
vueI18n: "./i18n.config.ts",
},
runtimeConfig: {
public: {
SUPABASE_URL: process.env.SUPABASE_URL,
SUPABASE_ANON_KEY: process.env.SUPABASE_ANON_KEY,
},
},
nitro: {
compressPublicAssets: true,
prerender: {
crawlLinks: true,
},
},
app: {
head: {
title: "Bodega - Your digital wine cellar",
meta: [
{
hid: "description",
name: "description",
content: "Your digital wine cellar",
},
],
link: [
{
rel: "icon",
type: "image/png",
href: "/favicon.png",
},
],
},
},
pwa: {
mode: "development",
filename: "sw.ts",
includeAssets: ["/favicon.png"],
strategies: "injectManifest",
manifest: {
publicPath: "/",
name: "Bodega",
short_name: "Bodega",
description: "Your digital wine cellar",
theme_color: "#ffffff",
start_url: "/",
display: "standalone",
background_color: "#ffffff",
icons: [
{
src: "icon-192.png",
sizes: "192x192",
type: "image/png",
},
{
src: "/icon-512.png",
sizes: "512x512",
type: "image/png",
},
{
src: "/icon-512.png",
sizes: "512x512",
type: "image/png",
purpose: "any maskable",
},
],
},
},
});