This repository was archived by the owner on Mar 14, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.js
More file actions
70 lines (57 loc) · 1.39 KB
/
nuxt.config.js
File metadata and controls
70 lines (57 loc) · 1.39 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
import colors from 'vuetify/es5/util/colors'
const NAME = 'WATCH_DOCS'
const DESCRIPTION = 'Document Management Service for Business'
const BASE_URL = '/'
const PRIMARY_COLOR = '#632a7e'
const SECONDARY_COLOR = '#a13e97'
export default {
css: [],
loading: { color: PRIMARY_COLOR },
modules: ['@nuxtjs/axios', '@nuxtjs/pwa'],
devModules: ['@nuxtjs/vuetify'],
axios: {
baseURL: 'http://172.30.1.5:3000/'
},
manifest: {
name: NAME,
short_name: NAME,
description: DESCRIPTION,
scope: BASE_URL,
display: 'standalone',
start_url: `${BASE_URL}?utm_source=homescreen`,
theme_color: PRIMARY_COLOR,
background_color: PRIMARY_COLOR
},
meta: {
name: NAME,
description: DESCRIPTION,
appleStatusBarStyle: 'black-translucent',
ogHost: `https://watchdocs.github.io${BASE_URL}`,
ogImage: 'social_preview.png'
},
vuetify: {
customVariables: ['~/assets/variables.scss'],
theme: {
themes: {
light: {
primary: PRIMARY_COLOR,
accent: colors.grey.darken3,
secondary: SECONDARY_COLOR,
info: colors.teal.lighten1,
warning: colors.amber.base,
error: colors.deepOrange.accent4,
success: colors.green.accent3
}
}
}
},
mode: 'spa',
router: { base: BASE_URL },
server: {
host: '0.0.0.0',
port: 80
},
build: {
extractCSS: true
}
}