-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.js
96 lines (87 loc) · 2.45 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
const pkg = require("./package")
module.exports = {
mode: "universal",
/*
** Manifest settings
*/
manifest: {
"name": "Runescape treasure trail simulator",
"prefer_related_applications": false,
"short_name": "clue-simulator",
"background_color": "#2c2c2c",
"theme_color": "#2c2c2c",
"icons": [
{
"src": "/android-chrome-192x192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "/android-chrome-512x512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"description": pkg.description,
"display": "standalone"
},
/*
** Headers of the page
*/
head: {
title: "Master clue Simulator",
meta: [
{charset: "utf-8"},
{name: "viewport", content: "width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=0"},
{hid: "description", name: "description", content: pkg.description},
{name: "theme-color", content: "#2c2c2c"}
],
link: [
{rel: "icon", type: "image/x-icon", href: "/favicon.ico"},
{rel: "icon", type: "image/png", href: "/favicon-16x16", sizes: "16x16"},
{rel: "icon", type: "image/png", href: "/favicon-32x32", sizes: "32x32"},
{rel: "icon", type: "image/png", href: "/logo", sizes: "512x512"},
{rel: "apple-touch-icon", href: "/apple-touch-icon.png", sizes: "180x180"},
{rel: "mask-icon", href: "/safari-pinned-tab.svg", color: "#5bbad5"}
]
},
/*
** Customize the progress-bar color
*/
loading: false,
/*
** Global CSS
*/
css: [
"~/assets/css/tailwind.css",
"~/assets/scss/modules/_typography.scss",
],
plugins: [
{src: "~/plugins/vue-static", ssr: false},
{src: "~/plugins/pretty-checkbox", srr: false},
{src: "~/plugins/v-tooltip", srr: false}
],
/*
** Nuxt.js modules
*/
modules: [
"@nuxtjs/axios",
"@nuxtjs/pwa",
"@nuxtjs/workbox",
"nuxt-fontawesome"
],
fontawesome: {
imports: [
{
set: "@fortawesome/free-solid-svg-icons",
icons: ["fas"]
}
]
},
/*
** Build configuration
*/
build: {
vendor: ["axios"],
}
}