add: view.vue-config (GlobalStore hardcoded config for GlobalStore fixed variables)
This commit is contained in:
parent
5d9cc9e33c
commit
8e5c1680be
|
@ -0,0 +1,22 @@
|
||||||
|
import {GlobalStore} from './lib/gstore-es6'
|
||||||
|
|
||||||
|
window.gstore = new GlobalStore();
|
||||||
|
window.gstore.add('header_title', 'ndli1718');
|
||||||
|
window.gstore.add('notif', {
|
||||||
|
active: false,
|
||||||
|
type: 'warning',
|
||||||
|
message: 'Warning! blabla'
|
||||||
|
});
|
||||||
|
window.gstore.add('menu_item_active', 'dashboard');
|
||||||
|
window.gstore.add('menu_item', {
|
||||||
|
dashboard: {
|
||||||
|
label: 'Dashboard',
|
||||||
|
icon: 'dashboard'
|
||||||
|
}, profile: {
|
||||||
|
label: 'Profil',
|
||||||
|
icon: 'profile'
|
||||||
|
}, inbox: {
|
||||||
|
label: 'Boîte de réception',
|
||||||
|
icon: 'messages'
|
||||||
|
}
|
||||||
|
});
|
Loading…
Reference in New Issue