add: view.vue-config (GlobalStore hardcoded config for GlobalStore fixed variables)

This commit is contained in:
xdrm-brackets 2017-12-01 15:45:45 +01:00
parent 5d9cc9e33c
commit 8e5c1680be
1 changed files with 22 additions and 0 deletions

22
view/vue-config.js Normal file
View File

@ -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'
}
});