π A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
:sparkles: Implementing VueX
Alicia Sykes41682c8914e0
diff --git a/src/main.js b/src/main.jsindex a5d4c764..cae12b4f 100644--- a/src/main.js+++ b/src/main.js@@ -14,6 +14,7 @@ import Toasted from 'vue-toasted'; // Toast component, used to show confirm// Import base Dashy components and utilsimport Dashy from '@/App.vue'; // Main Dashy Vue appimport router from '@/router'; // Router, for navigation+import store from '@/store'; // Store, for local state managementimport serviceWorker from '@/utils/InitServiceWorker'; // Service worker initializationimport clickOutside from '@/utils/ClickOutside'; // Directive for closing popups, modals, etcimport { messages } from '@/utils/languages'; // Language texts@@ -63,7 +64,9 @@ if (!isKeycloakEnabled()) {window.location.reload();} else {// Yay - user successfully authenticated with Keycloak, render the app!- new Vue({ router, render, i18n }).$mount('#app');+ new Vue({+ router, store, render, i18n,+ }).$mount('#app');}});}