Rebuild frontend.

This commit is contained in:
James Cole
2021-08-28 16:30:08 +02:00
parent d8a7bb4dc7
commit a13af41e9f
41 changed files with 173 additions and 295 deletions

View File

@@ -36,5 +36,16 @@ const app = new Vue({
store,
render(createElement) {
return createElement(Show, {props: props});
}
},
beforeCreate() {
// See reference nr. 10
this.$store.commit('initialiseStore');
this.$store.dispatch('updateCurrencyPreference');
// init the new root store (dont care about results)
this.$store.dispatch('root/initialiseStore');
// also init the dashboard store.
this.$store.dispatch('dashboard/index/initialiseStore');
},
}).$mount('#accounts_show');