@ -24,8 +24,6 @@ import './assets/iconfonts/iconfont.js'
import VueHighlightJS from 'vue-highlightjs'
import 'highlight.js/styles/atom-one-dark.css'
import './assets/echarts/echartDark.js'
import App from './App'
import store from './store'
import router from './router/routers'
@ -49,7 +49,7 @@ export default {
methods: {
drawChart() {
const chartDom = document.getElementById('maintype')
this.chart = echarts.init(chartDom, 'dark')
this.chart = echarts.init(chartDom, 'light')
let option = null
option = {
tooltip: {
@ -41,14 +41,19 @@ module.exports = {
}
},
configureWebpack: {
// provide the app's title in webpack's name field, so that
// it can be accessed in index.html to inject the correct title.
name: name,
resolve: {
alias: {
'@': resolve('src'),
'@crud': resolve('src/components/Crud')
performance: {
hints: 'warning',
// 入口起点的最大体积
maxEntrypointSize: 50000000,
// 生成文件的最大体积
maxAssetSize: 30000000
chainWebpack(config) {