-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.js
73 lines (67 loc) · 1.72 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
const pkg = require("./package");
module.exports = {
/*
** Headers of the page
*/
head: {
title: "Lua China - Lua 中国开发者社区",
meta: [
{ charset: "utf-8" },
{
name: "viewport",
content:
"width=device-width, initial-scale=1.0, user-scalable=no"
},
{
name: "keywords",
content:
"Lua中国,Lua论坛,openresty论坛,lua社区,luachina,lua china,lua openresty,lua nana api 框架,nana,Lua China 社区"
},
{
hid: "description",
name: "description",
content:
"Lua 中国,这里是 Lua 论坛,为开发者提供学习交流的平台,Lua 中国需要你的力量!"
}
],
script: [
{
src: 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9427439045678433',
async: true,
crossorigin: 'anonymous'
}
]
},
/*
** Customize the progress-bar color
*/
loading: {
color: "#41B883",
height: "3px"
},
/*
** Global CSS
*/
css: ["@/assets/sass/app.scss"],
/*
** Plugins to load before mounting the App
*/
plugins: [
{ src: "~plugins/app", ssr: false },
{ src: "~plugins/vee-validate", ssr: false }
],
/*
** Nuxt.js modules
*/
modules: [],
/*
** Build configuration
*/
build: {
/*
** You can extend webpack config here
*/
extend(config, ctx) {},
extractCSS: true
}
};