-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathnuxt.config.js
More file actions
37 lines (36 loc) · 774 Bytes
/
Copy pathnuxt.config.js
File metadata and controls
37 lines (36 loc) · 774 Bytes
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
const webpack = require("webpack");
const themes = require("./static/style/themes");
const config = require("./config.json");
module.exports = {
build: {
analyze: false
},
plugins: ["~plugins/element-ui", "~plugins/vue-clipboard2"],
css: [
"element-ui/lib/theme-chalk/index.css",
"~static/style/pageTransitions.css"
],
modules: ["@nuxtjs/font-awesome"],
links: [
{
rel: "stylesheet",
href: "https://fonts.googleapis.com/css?family=Lato"
},
{
rel: "icon",
type: "image/x-icon",
href: "favicon.ico"
}
],
axios: {
// proxyHeaders: false
},
env: {
baseUrl: config.host
},
loading: {
color: themes[themes.current]
? themes[themes.current].loading.color
: "black"
}
};