-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.js
55 lines (43 loc) · 988 Bytes
/
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
const NAME = 'Name'
const DESCRIPTION = 'Description'
const BASE_URL = '/nuxt-starter/'
const THEME_COLOR = '#005bac'
export default {
css: [
'~/assets/fonts.css'
],
loading: { color: THEME_COLOR },
plugins: [],
buildModules: [
'@nuxtjs/eslint-module',
'@nuxtjs/stylelint-module'
],
modules: [
'@nuxtjs/axios',
'@nuxtjs/dotenv',
'@nuxtjs/google-analytics',
'@nuxtjs/pwa'
],
googleAnalytics: { id: '' },
manifest: {
name: NAME,
short_name: NAME,
description: DESCRIPTION,
scope: BASE_URL,
display: 'standalone',
start_url: `${BASE_URL}?utm_source=homescreen`,
theme_color: THEME_COLOR,
background_color: THEME_COLOR
},
meta: {
name: NAME,
description: DESCRIPTION,
appleStatusBarStyle: 'black-translucent',
ogHost: `https://int-i.github.io${BASE_URL}`,
ogImage: 'social_preview.png'
},
mode: 'universal',
router: { base: BASE_URL },
build: {},
telemetry: false
}