diff --git a/view/vue-config.js b/view/vue-config.js new file mode 100644 index 0000000..dd89b35 --- /dev/null +++ b/view/vue-config.js @@ -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' + } +}); \ No newline at end of file