aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src/plugins
diff options
context:
space:
mode:
authorRemy Raes <raes.remy@gmail.com>2022-09-24 12:13:54 +0200
committerRemy Raes <raes.remy@gmail.com>2022-09-24 12:13:54 +0200
commite1271d73a67ecc711838e8e8c37bd20d9fe019fc (patch)
treeec93733417bc292c62da41549731c4a676e4f763 /src-vue/src/plugins
parentd4b55ae95a83f92581296ce0c54e8be62e33bbcc (diff)
downloadFlightCore-e1271d73a67ecc711838e8e8c37bd20d9fe019fc.tar.gz
FlightCore-e1271d73a67ecc711838e8e8c37bd20d9fe019fc.zip
feat: use a store for application state
Diffstat (limited to 'src-vue/src/plugins')
-rw-r--r--src-vue/src/plugins/store.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/src-vue/src/plugins/store.ts b/src-vue/src/plugins/store.ts
new file mode 100644
index 00000000..94464e3c
--- /dev/null
+++ b/src-vue/src/plugins/store.ts
@@ -0,0 +1,10 @@
+import { createStore } from 'vuex';
+
+export const store = createStore({
+ state () {
+ return {
+ installed_northstar_version: "1.9.7"
+ }
+ },
+ mutations: {}
+}); \ No newline at end of file