Browse Source

Update 升级element-ui和vue全家桶

enilu 6 years ago
parent
commit
cf02dd8204
2 changed files with 6 additions and 16 deletions
  1. 0 10
      flash-waimai-manage/build/webpack.base.conf.js
  2. 6 6
      flash-waimai-manage/package.json

+ 0 - 10
flash-waimai-manage/build/webpack.base.conf.js

@@ -9,16 +9,6 @@ function resolve(dir) {
   return path.join(__dirname, '..', dir)
 }
 
-// const createLintingRule = () => ({
-//   test: /\.(js|vue)$/,
-//   loader: 'eslint-loader',
-//   enforce: 'pre',
-//   include: [resolve('src'), resolve('test')],
-//   options: {
-//     formatter: require('eslint-friendly-formatter'),
-//     emitWarning: !config.dev.showEslintErrorsInOverlay
-//   }
-// })
 
 module.exports = {
   context: path.resolve(__dirname, '../'),

+ 6 - 6
flash-waimai-manage/package.json

@@ -15,17 +15,17 @@
     "test": "npm run lint"
   },
   "dependencies": {
-    "axios": "0.18.0",
+    "axios": "0.18.1",
     "element-ui": "2.11.0",
     "js-cookie": "2.2.0",
     "normalize.css": "7.0.0",
     "nprogress": "0.2.0",
     "path-to-regexp": "^3.0.0",
-    "vue": "2.5.17",
+    "vue": "2.6.10",
     "vue-echarts": "^3.1.2",
     "vue-i18n": "7.3.2",
-    "vue-router": "3.0.1",
-    "vuex": "3.0.1"
+    "vue-router": "3.0.3",
+    "vuex": "3.1.1"
   },
   "devDependencies": {
     "autoprefixer": "8.5.0",
@@ -68,9 +68,9 @@
     "svg-sprite-loader": "3.8.0",
     "uglifyjs-webpack-plugin": "1.2.7",
     "url-loader": "1.0.1",
-    "vue-loader": "15.3.0",
+    "vue-loader": "15.7.0",
     "vue-style-loader": "4.1.2",
-    "vue-template-compiler": "2.5.17",
+    "vue-template-compiler": "2.6.10",
     "webpack": "4.16.5",
     "webpack-bundle-analyzer": "2.13.1",
     "webpack-cli": "3.1.0",