Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

:construction: WIP, working on VueX store

Alicia Sykes2946412b4c7d
diff --git a/src/store.js b/src/store.js
new file mode 100644
index 00000000..1ee854ac
--- /dev/null
+++ b/src/store.js
@@ -0,0 +1,17 @@
+import Vue from 'vue';
+import Vuex from 'vuex';
+
+Vue.use(Vuex);
+
+const store = new Vuex.Store({
+ state: {
+ count: 0,
+ },
+ mutations: {
+ increment(state) {
+ state.count++;
+ },
+ },
+});
+
+export default store;