-
Notifications
You must be signed in to change notification settings - Fork 1
/
nuxt.config.js
98 lines (87 loc) · 2.21 KB
/
nuxt.config.js
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
93
94
95
96
97
98
const icon = process.env.BRANCH === 'dev' ? '/icon-dev.png' : '/icon-white.png'
export default {
target: 'static',
head: {
title: 'Krab Bij Kas',
meta: [
{ charset: 'utf-8' },
{
hid: 'description',
name: 'description',
content: "A finance tracker that's not just for the bank.",
},
{
name: 'viewport',
content:
'width=device-width, initial-scale=1, user-scalable=0, minimal-ui, viewport-fit=cover',
},
{
name: 'apple-mobile-web-app-status-bar-style',
content: 'black-translucent',
},
// <meta name="theme-color" content="#872e4e" media="(prefers-color-scheme: dark)">
{
name: 'theme-color',
content: '#457461',
media: '(prefers-color-scheme: light)',
},
{
name: 'theme-color',
content: '#000000',
media: '(prefers-color-scheme: dark)',
},
// <meta property="og:title" content="Your Title"/>
// <meta property="og:description" content="A full description of the page."/>
// <meta property="og:image" content="https://mywebsite.net/assets/opengraph/theogimage.jpg"/
{
property: 'og:title',
content: 'Krab Bij Kas',
},
{
property: 'og:description',
content: "A finance tracker that's not just for the bank.",
},
{
property: 'og:image',
content: 'https://krabbijkas.nl/icon-pride.png',
},
],
link: [
{
rel: 'icon',
type: 'image/x-icon',
href: icon,
},
{
rel: 'apple-touch-icon',
href: icon,
},
{
rel: 'manifest',
href: '/manifest.json',
},
],
},
css: ['~assets/scss/main.scss'],
plugins: ['./plugins/event-bus.js', './plugins/sw.client.js'],
components: false,
buildModules: ['@nuxtjs/eslint-module', '@nuxtjs/svg'],
modules: ['@nuxtjs/axios'],
server: {
host: '0',
},
pwa: {
manifest: {
name: 'Krab Bij Kas',
short_name: 'Krab',
start_url: '/',
},
meta: {
theme_color: '#457461',
},
},
build: {},
env: {
REDIRECT_URL: process.env.REDIRECT_URL || 'http://localhost:8888',
},
}