aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src/App.vue
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2022-10-21 13:48:10 +0200
committerGitHub <noreply@github.com>2022-10-21 13:48:10 +0200
commit7595b5f25a200a6a0f9f8742f11cc326dc1bd498 (patch)
treee970600b27eab0aa1fd23f6d53a8eb3caae2973a /src-vue/src/App.vue
parent5cc82fb80f5f91ed9d4a32a71e090a9a805ff2a9 (diff)
downloadFlightCore-7595b5f25a200a6a0f9f8742f11cc326dc1bd498.tar.gz
FlightCore-7595b5f25a200a6a0f9f8742f11cc326dc1bd498.zip
feat: Add initial skeleton for ModsView (#27)
* feat: Backend code to get list of installed mods For now simply parses `enabledmods.json`. Note that this file will not be up-to-date if the user just installed a mod but hasn't launched Northstar yet. * feat: Empty skeleton page for ModsView Will be populated later with list of installed mods * chore: Remove leftover print statement
Diffstat (limited to 'src-vue/src/App.vue')
-rw-r--r--src-vue/src/App.vue5
1 files changed, 4 insertions, 1 deletions
diff --git a/src-vue/src/App.vue b/src-vue/src/App.vue
index 68372fc7..115330c3 100644
--- a/src-vue/src/App.vue
+++ b/src-vue/src/App.vue
@@ -2,6 +2,7 @@
import ChangelogView from './views/ChangelogView.vue';
import DeveloperView from './views/DeveloperView.vue';
import PlayView from './views/PlayView.vue';
+import ModsView from './views/ModsView.vue';
import SettingsView from './views/SettingsView.vue';
import { appWindow } from '@tauri-apps/api/window';
import { store } from './plugins/store';
@@ -12,7 +13,8 @@ export default {
ChangelogView,
DeveloperView,
PlayView,
- SettingsView
+ SettingsView,
+ ModsView
},
data() {
return {}
@@ -43,6 +45,7 @@ export default {
>
<el-menu-item index="/">Play</el-menu-item>
<el-menu-item index="/changelog">Changelog</el-menu-item>
+ <el-menu-item index="/mods">Mods</el-menu-item>
<el-menu-item index="/settings">Settings</el-menu-item>
<el-menu-item index="/dev" v-if="$store.state.developer_mode">Dev</el-menu-item>
</el-menu>