diff options
author | Remy Raes <raes.remy@gmail.com> | 2022-09-24 13:02:12 +0200 |
---|---|---|
committer | Remy Raes <raes.remy@gmail.com> | 2022-09-24 13:02:12 +0200 |
commit | 9635801759facbfdc3c033f70a64ae4635be19f6 (patch) | |
tree | 605be2d44f86728a110ca5a2d135f1c1e183018d /src-vue/src/App.vue | |
parent | e1271d73a67ecc711838e8e8c37bd20d9fe019fc (diff) | |
download | FlightCore-9635801759facbfdc3c033f70a64ae4635be19f6.tar.gz FlightCore-9635801759facbfdc3c033f70a64ae4635be19f6.zip |
feat: listen to origin/northstar events
Diffstat (limited to 'src-vue/src/App.vue')
-rw-r--r-- | src-vue/src/App.vue | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src-vue/src/App.vue b/src-vue/src/App.vue index 70afd62c..06499058 100644 --- a/src-vue/src/App.vue +++ b/src-vue/src/App.vue @@ -1,6 +1,19 @@ -<script setup lang="ts"> +<script lang="ts"> import PlayView from './views/PlayView.vue'; import { appWindow } from '@tauri-apps/api/window'; +import { store } from './plugins/store'; + +export default { + components: { + PlayView + }, + data() { + return {} + }, + mounted: () => { + store.commit('initializeListeners'); + } +} </script> <template> |