diff --git a/index.html b/index.html
index 8db69e91256e3195da9edead03181ba85238a0e2..39f614fcfd26658cf44ba78650ddb4d17ea11a1c 100644
--- a/index.html
+++ b/index.html
@@ -39,16 +39,17 @@
-
- <% htmlWebpackPlugin.options.cdnConfig.forEach(function(item){ if(item.js){ %>
-
- <% }}) %>
+
+
+ <% htmlWebpackPlugin.options.cdnConfig.forEach(function(item){ if(item.js){ %>
+
+ <% }}) %>
diff --git a/src/main.js b/src/main.js
index caa22f0e26e5495719d8d347704e27613a3849e5..fe62c947e6e47b0aeab6293a790635e582b3a886 100644
--- a/src/main.js
+++ b/src/main.js
@@ -13,6 +13,7 @@ import App from './App'
// import 'github-markdown-css/github-markdown.css'
// import 'nprogress/nprogress.css'
import 'highlight.js/styles/github.css'
+import * as echarts from 'echarts/core'
const env = process.env.NODE_ENV
@@ -43,6 +44,7 @@ if (env === 'production') {
Vue.use(axios)
Vue.prototype.$axios = axios
window.$axios_w = axios
+ Vue.prototype.$echarts = echarts
Vue.prototype.$cookies.set('user_session', 'null')