diff --git a/.babelrc b/.babelrc index c01b06b..c06df4d 100644 --- a/.babelrc +++ b/.babelrc @@ -8,7 +8,7 @@ }], "stage-2" ], - "plugins": ["transform-runtime","babel-plugin-syntax-dynamic-import"], + "plugins": ["transform-runtime"], "env": { "test": { "presets": ["env", "stage-2"], diff --git a/.eslintignore b/.eslintignore index 71acc5c..f5dd392 100644 --- a/.eslintignore +++ b/.eslintignore @@ -3,7 +3,6 @@ /dist/ /static/ /*.js -/*.vue src/common/fork/* diff --git a/build/webpack.base.conf.js b/build/webpack.base.conf.js index 88d3274..f7daa67 100644 --- a/build/webpack.base.conf.js +++ b/build/webpack.base.conf.js @@ -12,10 +12,6 @@ module.exports = { entry: { app: './src/main.js' }, - externals:{ - 'vue':'Vue', - 'element-ui':'ELEMENT' - }, output: { path: config.build.assetsRoot, filename: '[name].js', @@ -49,9 +45,6 @@ module.exports = { { test: /\.js$/, loader: 'babel-loader', - options:{ - plugins:['babel-plugin-syntax-dynamic-import'] - }, include: [resolve('src'), resolve('test'), resolve('node_modules/vue-echarts'), diff --git a/config/index.js b/config/index.js index 31681f6..0071db3 100644 --- a/config/index.js +++ b/config/index.js @@ -33,7 +33,8 @@ module.exports = { assetsPublicPath: '/', proxyTable: { '/api': { - target: 'https://tank.eyeblue.cn', + //target: 'https://tank.eyeblue.cn', + target: 'http://127.0.0.1:6010', changeOrigin: true, pathRewrite: { '^/api': '/api' diff --git a/index.html b/index.html index 092f884..2bd756a 100644 --- a/index.html +++ b/index.html @@ -9,15 +9,10 @@ - - - +
- - -