|
- var path = require('path')
-
- module.exports = {
- // build: {
- // index: path.resolve(__dirname, '../dist/index.html'),
- // assetsRoot: path.resolve(__dirname, '../dist'),
- // assetsSubDirectory: 'static',
- // assetsPublicPath: '../',
- // productionSourceMap: true
- // },
- /**
- * @description token在Cookie中存储的天数,默认1天
- */
- cookieExpires: 1,
- /**
- * @description 是否使用国际化,默认为false
- * 如果不使用,则需要在路由中给需要在菜单中展示的路由设置meta: {title: 'xxx'}
- * 用来在菜单中显示文字
- */
- useI18n: false,
- /**
- * oss server
- */
- oss: {
- dev: 'oss.abc.com',
- pro: ''
- },
- /**
- * 单点登录
- */
- sso: {
- dev: 'http://passport.abc.com/',
- pro: ''
- },
- clientId:{
- dev: '1',
- pro: ''
- },
- /**
- * @description api请求基础路径
- */
- baseUrl: {
- dev: 'http://47.100.188.195:7006',
- pro: 'http://47.100.188.195:7006'
- }
- }
|