Commit ac55cebf authored by xhx's avatar xhx

fix:调整名称

parent 8094ca79
NODE_ENV="development"
VUE_APP_URL="http://172.16.100.59:8090"
\ No newline at end of file
VUE_APP_URL="http://172.16.100.59:8092"
\ No newline at end of file
NODE_ENV="production"
VUE_APP_URL="http://47.243.139.223:8000"
\ No newline at end of file
VUE_APP_URL="http://47.243.139.223:8000"
VUE_TITLE="后台系统"
\ No newline at end of file
NODE_ENV='development'
VUE_APP_URL="http://172.16.100.59:8090"
#VUE_APP_URL="http://172.16.100.59:8092"
\ No newline at end of file
VUE_APP_URL="http://172.16.100.59:8092"
#VUE_APP_URL="http://172.16.100.59:8090"
\ No newline at end of file
......@@ -18,27 +18,27 @@ const routes: Array<RouteConfig> = [
{
path: '/info',
name: 'info',
component: () => import('@/views/user/Info.vue')
component: () => import('@/views/User/Info.vue')
},
{
path: '/launch',
name: 'launch',
component: () => import('@/views/mining/Launch.vue')
component: () => import('@/views/Mining/Launch.vue')
},
{
path: '/minTicket',
name: 'minTicket',
component: () => import('@/views/mining/MinTicket.vue')
component: () => import('@/views/Mining/MinTicket.vue')
},
{
path: '/add',
name: 'add',
component: () => import('@/views/setting/Add.vue')
component: () => import('@/views/Setting/Add.vue')
},
{
path: '/reset',
name: 'reset',
component: () => import('@/views/setting/Reset.vue')
component: () => import('@/views/Setting/Reset.vue')
},
]
......
......@@ -51,6 +51,15 @@ module.exports = {
// ]
// }
// }
chainWebpack: config => {
// config.devtool ='source-map';
config
.plugin('html')
.tap(args => {
args[0].title= process.env.APP_TITLE
return args
})
}
// pwa: {
// name: 'My App',
// themeColor: '#4DBA87',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment