update axios

This commit is contained in:
yi-ge 2019-06-02 23:17:02 +08:00
parent 39b2f45b8a
commit b67d0e81d6
3 changed files with 493 additions and 599 deletions

View File

@ -1,9 +1,12 @@
# Vue SSR Koa2 Scaffold
基于Vue 2Webpack 4Koa 2的SSR脚手架。
基于 Vue 2Webpack 4Koa 2 SSR 脚手架。
具体配置指南请参阅博文:[Vue SSR Vue2 + Koa2 + Webpack4配置指南 https://www.wyr.me/post/593](https://www.wyr.me/post/593)
**2019年04月07日21:54:24 更新**
**2019 年 06 月 02 日 23:16:47 更新**
1、升级各个依赖项特意升级了`axios`模块。
**2019 年 04 月 07 日 21:54:24 更新**
1、升级各个依赖项。
2、完善对请求错误的处理。
2、完善对请求错误的处理。

View File

@ -16,8 +16,8 @@
"build:api": "cross-env NODE_ENV=production webpack --config config/webpack.api.config.js --progress --hide-modules"
},
"dependencies": {
"axios": "^0.18.0",
"chokidar": "^2.1.5",
"axios": "0.19.0",
"chokidar": "^2.1.6",
"cross-env": "^5.2.0",
"html-minifier": "^4.0.0",
"koa": "^2.7.0",
@ -28,25 +28,25 @@
"memory-fs": "^0.4.1",
"readline": "^1.3.0",
"vue": "^2.6.10",
"vue-router": "^3.0.2",
"vue-router": "^3.0.6",
"vue-server-renderer": "^2.6.10",
"vue-template-compiler": "^2.6.10",
"vuex": "^3.1.0",
"vuex": "^3.1.1",
"vuex-router-sync": "^5.0.0"
},
"devDependencies": {
"@babel/core": "^7.4.3",
"@babel/core": "^7.4.5",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-syntax-jsx": "^7.2.0",
"@babel/polyfill": "^7.4.3",
"@babel/preset-env": "^7.4.3",
"@babel/polyfill": "^7.4.4",
"@babel/preset-env": "^7.4.5",
"babel-helper-vue-jsx-merge-props": "^2.0.3",
"babel-loader": "^8.0.5",
"babel-loader": "^8.0.6",
"babel-plugin-syntax-jsx": "^6.18.0",
"babel-plugin-transform-vue-jsx": "^3.7.0",
"case-sensitive-paths-webpack-plugin": "^2.2.0",
"chalk": "^2.4.2",
"copy-webpack-plugin": "^5.0.2",
"copy-webpack-plugin": "^5.0.3",
"css-loader": "^2.1.1",
"execa": "^1.0.0",
"file-loader": "^3.0.1",
@ -58,10 +58,10 @@
"vue-html-loader": "^1.2.4",
"vue-loader": "^15.7.0",
"vue-style-loader": "^4.1.2",
"webpack": "^4.29.6",
"webpack-cli": "^3.3.0",
"webpack-dev-middleware": "^3.6.2",
"webpack-hot-middleware": "^2.24.3",
"webpack": "^4.32.2",
"webpack-cli": "^3.3.2",
"webpack-dev-middleware": "^3.7.0",
"webpack-hot-middleware": "^2.25.0",
"webpack-merge": "^4.2.1",
"webpack-node-externals": "^1.7.2"
}

1057
yarn.lock

File diff suppressed because it is too large Load Diff