-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
82 lines (77 loc) · 1.87 KB
/
nuxt.config.ts
File metadata and controls
82 lines (77 loc) · 1.87 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
import tailwindcss from "@tailwindcss/vite";
export default defineNuxtConfig({
compatibilityDate: "2025-07-15",
devtools: { enabled: false },
modules: ["@vite-pwa/nuxt", "@nuxt/fonts"],
nitro: {
preset: "static",
},
app: {
baseURL: "/",
pageTransition: { name: "page", mode: "out-in" },
head: {
charset: "utf-8",
viewport: "width=device-width, initial-scale=1",
title: "Glif | Create and download customizable QR codes",
link: [{ rel: "icon", type: "image/x-icon", href: "/favicon.ico" }],
},
},
css: ["~/assets/css/main.css"],
fonts: {
defaults: {
weights: [300, 400, 500, 600, 700],
styles: ["normal"],
},
families: [{ name: "Inter", provider: "google" }],
},
vite: { plugins: [tailwindcss()] },
pwa: {
registerType: "autoUpdate",
strategies: "generateSW",
manifest: {
name: "Glif",
short_name: "Glif",
description:
"Application that allows you to create and download customizable QR codes",
theme_color: "#4caf50",
icons: [
{
src: "pwa-192x192.png",
sizes: "120x120",
type: "image/png",
},
{
src: "pwa-192x192.png",
sizes: "144x144",
type: "image/png",
},
{
src: "pwa-192x192.png",
sizes: "152x152",
type: "image/png",
},
{
src: "pwa-192x192.png",
sizes: "192x192",
type: "image/png",
},
{
src: "pwa-512x512.png",
sizes: "384x384",
type: "image/png",
},
{
src: "pwa-512x512.png",
sizes: "512x512",
type: "image/png",
},
{
src: "pwa-512x512.png",
sizes: "512x512",
type: "image/png",
purpose: "maskable",
},
],
},
},
});