forked from Ivasoft/traefik
Add a new dashboard page.
This commit is contained in:
committed by
Ludovic Fernandez
parent
89150e1164
commit
fd24b1898e
28
webui/src/_middleware/Boot.js
Normal file
28
webui/src/_middleware/Boot.js
Normal file
@@ -0,0 +1,28 @@
|
||||
import { APP } from '../_helpers/APP'
|
||||
|
||||
const Boot = {
|
||||
install (Vue, options) {
|
||||
Vue.mixin({
|
||||
data () {
|
||||
return {
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
api () {
|
||||
return APP.config.apiUrl
|
||||
},
|
||||
env () {
|
||||
return APP.config.env
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
},
|
||||
filters: {
|
||||
},
|
||||
created () {
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
export default Boot
|
||||
Reference in New Issue
Block a user