|
|
@@ -17,7 +17,7 @@ const ssoUrl = process.env.ssoUrl || (isProdMode ? 'https://sso.ubtob.com/' : 'h
|
|
|
|
|
|
module.exports = {
|
|
|
router: {
|
|
|
- middleware: 'check-auth',
|
|
|
+ // middleware: 'check-auth',
|
|
|
scrollBehavior: function (to, from, savedPosition) {
|
|
|
return { x: 0, y: 0 }
|
|
|
}
|
|
|
@@ -72,8 +72,8 @@ module.exports = {
|
|
|
},
|
|
|
vendor: [
|
|
|
'axios',
|
|
|
- 'swiper',
|
|
|
- 'element-ui'
|
|
|
+ 'swiper'
|
|
|
+ // 'element-ui'
|
|
|
],
|
|
|
babel: {
|
|
|
presets: ['es2015', 'stage-2'],
|
|
|
@@ -103,17 +103,18 @@ module.exports = {
|
|
|
uasUrl
|
|
|
},
|
|
|
plugins: [
|
|
|
- {
|
|
|
- src: '~plugins/axios.js'
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // src: '~plugins/axios.js',
|
|
|
+ // ssr: false
|
|
|
+ // },
|
|
|
{
|
|
|
src: '~plugins/vue-filter.js'
|
|
|
}, {
|
|
|
src: '~plugins/mixin.js'
|
|
|
- }, {
|
|
|
+ }, /* {
|
|
|
src: '~plugins/swiper.js',
|
|
|
ssr: false
|
|
|
- }, {
|
|
|
+ }, */ {
|
|
|
src: '~plugins/vue-loading.js',
|
|
|
ssr: false
|
|
|
}, {
|