'添加gin-vue-admin的web配置文件,具体文件请看core/config文件'
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* 网站配置文件
|
||||
* */
|
||||
|
||||
|
||||
|
||||
const config ={
|
||||
|
||||
appName : 'Gin-Vue-Admin',
|
||||
|
||||
appLogo : 'https://www.gin-vue-admin.com/img/logo.png'
|
||||
|
||||
}
|
||||
|
||||
export default config
|
||||
@@ -10,6 +10,10 @@ import APlayer from '@moefe/vue-aplayer'
|
||||
import '../../node_modules/timeline-vuejs/dist/timeline-vuejs.css'
|
||||
// 路由守卫
|
||||
import Bus from '@/utils/bus'
|
||||
//加载网站配置文件夹
|
||||
import config from './config'
|
||||
Vue.prototype.$GIN_VUE_ADMIN = config
|
||||
console.log(config)
|
||||
Vue.use(Bus)
|
||||
Vue.use(APlayer, {
|
||||
defaultCover: 'https://github.com/u3u.png',
|
||||
|
||||
Reference in New Issue
Block a user