-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.js
97 lines (97 loc) · 2.76 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
module.exports = {
/*
** Headers of the page
*/
head: {
title: "メロウイエロー",
meta: [
{ charset: "utf-8" },
{ name: "viewport", content: "width=device-width, initial-scale=1" },
{
name: "google-site-verification",
content: "tVP1-RlCcz-LfeMza6YkpVyRdM_Vvi0rdMSsAyx4hJk"
},
{ hid: "site_name", name: "site_name", content: "メロウイエロー" },
{
hid: "description",
name: "description",
content:
'Website of メロウイエロー clans in "princess connect re:dive".'
},
{
hid: "image",
name: "image",
content: "https://pbs.twimg.com/media/DebJ9t5W4Aoka9o.jpg"
},
{ hid: "og:type", name: "og:type", content: "website" },
{ hid: "og:site_name", name: "og:site_name", content: "メロウイエロー" },
{ hid: "og:title", name: "og:title", content: "メロウイエロー" },
{
hid: "og:description",
name: "og:description",
content:
'Website of メロウイエロー clans in "princess connect re:dive".'
},
{ hid: "og:url", name: "og:url", content: "https://mello-yello.co" },
{
hid: "og:image",
name: "og:image",
content: "https://pbs.twimg.com/media/DebJ9t5W4Aoka9o.jpg"
}
],
link: [{ rel: "icon", type: "image/x-icon", href: "favicon.ico?v3" }]
},
css: ["assets/main.css", { src: "~assets/uikit.scss", lang: "scss" }],
plugins: [
{ src: "~plugins/uikit.bundle.js", ssr: false },
{ src: "~plugins/chartjs.js", ssr: false },
{ src: "~plugins/vue-lazyload.js", ssr: false }
],
modules: [
"nuxt-material-design-icons",
["@nuxtjs/google-analytics", { id: "UA-80675437-4" }],
"@nuxtjs/pwa",
'@nuxtjs/axios'
],
workbox: {
dev: true
},
/*
** Customize the progress bar color
*/
loading: { color: "#FFD600" },
/*
** Build configuration
*/
build: {
vendor: ["chart.js"],
/*
** Run ESLint on save
*/
extend(config, { isDev, isClient }) {
if (isDev && isClient) {
config.module.rules.push({
enforce: "pre",
test: /\.(js|vue)$/,
loader: "eslint-loader",
exclude: /(node_modules)/
});
}
}
},
manifest: {
name: "メロウイエロー",
short_name: "メロウイエロー",
description: "Website of メロウイエロー clans in princess connect re:dive.",
publicPath: "//_nuxt/",
start_url: "/",
display: "standalone",
background_color: "#FFFDE7",
theme_color: "#FFF59D",
lang: "ja",
title: "メロウイエロー",
"og:title": "メロウイエロー",
"og:description":
'Website of メロウイエロー clans in "princess connect re:dive".'
}
};