-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnuxt.config.js
54 lines (54 loc) · 1.33 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
module.exports = {
head: {
title: "南京西邦智能科技",
meta: [
{ charset: "utf-8" },
{
name: "viewport",
content:
"width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1"
},
{
hid: "keywords",
name: "keywords",
content:
"西邦,Willin,智能科技,微信小程序,抽奖活动,微信吸粉,技术咨询,系统研发"
},
{
hid: "description",
name: "description",
content:
"南京西邦智能科技有限公司官方网站。Nanjing XiBang Intelligence Technology LTD."
}
],
link: [{ rel: "shortcut icon", href: "/favicon.ico" }]
},
css: [
"minireset.css",
"purecss/build/pure.css",
"purecss/build/grids-responsive.css",
"~/assets/style.styl",
"swiper/swiper.min.css",
"vue-pure-lightbox/dist/VuePureLightbox.css"
],
env: {
NODE_ENV: process.env.NODE_ENV || "development"
},
modules: ["@nuxtjs/svg-sprite"],
build: {
extractCSS: true,
// ssr: false,
extend(config, { isDev }) {
if (isDev) {
// eslint-disable-next-line no-param-reassign
config.devtool = "#source-map";
}
}
},
generate: {
fallback: true
},
svgSprite: {
input: "~/node_modules/@fortawesome/fontawesome-free/svgs/"
}
};