-
Notifications
You must be signed in to change notification settings - Fork 1
/
nuxt.config.js
104 lines (103 loc) · 3.13 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
99
100
101
102
103
104
export default {
ssr: false,
loadingIndicator: {
name: 'folding-cube',
color: '#7f77bc',
background: '#121212'
},
loading: {
color: '#7f77bc'
},
render: {
static: {
maxAge: 60 * 60 * 24 * 30 * 1000
}
},
target: 'static',
head: {
noscript: [{ innerHTML: 'This website requires JavaScript.' }],
htmlAttrs: {
lang: 'en'
},
titleTemplate: '%s - Argyle',
title: 'Home',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'description', name: 'description', content: 'An offline collection of online tools' },
{ name: 'theme-color', content: '#7f77bc' },
// OpenGraph
{ name: 'og:site_name', content: 'GeopJr#4066' },
{ name: 'og:description', content: 'An offline collection of online tools' },
{ name: 'og:title', content: 'Argyle' },
{ name: 'og:type', content: 'website' },
{ name: 'og:url', content: 'https://argyle.geopjr.dev/' },
{ name: 'og:image:type', content: 'image/png' },
{ name: 'og:image', content: 'https://i.imgur.com/QKFC8cW.png' },
// Apple
{ name: 'apple-mobile-web-app-title', content: 'Argyle' },
{ name: 'apple-mobile-web-app-status-bar-style', content: 'black-translucent' },
{ name: 'apple-mobile-web-app-capable', content: 'yes' }
],
link: [
{ rel: 'canonical', href: 'https://argyle.geopjr.dev' },
// Favicons
{ rel: 'icon', sizes: '32x32', type: 'image/png', href: '/favicons/favicon-32x32.png?v=2' },
{ rel: 'icon', sizes: '16x16', type: 'image/png', href: '/favicons/favicon-16x16.png?v=2' },
{ rel: 'icon', type: 'image/x-icon', href: '/favicons/favicon.ico?v=2' },
{ rel: 'mask-icon', href: '/favicons/safari-pinned-tab.svg' },
{ rel: 'icon', type: 'image/x-icon', href: '/favicons/favicon.ico', color: '#ffff00' },
// Apple
{ rel: 'apple-touch-icon', sizes: '180x180', href: '/favicons/apple-touch-icon.png' },
// MEMEME
{ rel: 'me', href: 'https://tech.lgbt/@GeopJr' },
{ rel: 'me', href: 'https://github.com/GeopJr' }
]
},
components: true,
// Reduces vuetify size apparently
build: {
extractCSS: true
},
buildModules: [
'@nuxtjs/eslint-module',
'@nuxtjs/pwa',
['@nuxtjs/vuetify', { customVariables: ['~/assets/variables.scss'], treeShake: true }]
],
generate: { fallback: '404.html' },
pwa: {
meta: {
appleStatusBarStyle: 'black-translucent',
theme_color: '#7f77bc',
ogSiteName: 'GeopJr#4066',
ogTitle: 'Argyle',
ogDescription: 'An offline collection of online tools',
ogImage: 'https://i.imgur.com/QKFC8cW.png',
ogUrl: 'https://argyle.geopjr.dev'
},
manifest: {
background_color: '#121212'
}
},
vuetify: {
breakpoint: {
thresholds: {
xl: 12000
}
},
theme: {
dark: true,
themes: {
light: {
primary: '#a56262',
accent: '#a56262'
},
dark: {
primary: '#7f77bc',
accent: '#7f77bc'
}
}
}
},
css: ['@/assets/transitions.css']
}