diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2022-10-21 13:48:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-21 13:48:10 +0200 |
commit | 7595b5f25a200a6a0f9f8742f11cc326dc1bd498 (patch) | |
tree | e970600b27eab0aa1fd23f6d53a8eb3caae2973a /src-vue/src/main.ts | |
parent | 5cc82fb80f5f91ed9d4a32a71e090a9a805ff2a9 (diff) | |
download | FlightCore-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/main.ts')
-rw-r--r-- | src-vue/src/main.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src-vue/src/main.ts b/src-vue/src/main.ts index dc18b443..95bea7af 100644 --- a/src-vue/src/main.ts +++ b/src-vue/src/main.ts @@ -5,6 +5,7 @@ import * as ElementPlusIconsVue from '@element-plus/icons-vue' import { store } from './plugins/store'; import PlayView from "./views/PlayView.vue"; import ChangelogView from "./views/ChangelogView.vue"; +import ModsView from "./views/ModsView.vue"; import SettingsView from "./views/SettingsView.vue"; import DeveloperView from "./views/DeveloperView.vue"; import {createRouter, createWebHashHistory} from "vue-router"; @@ -32,6 +33,7 @@ app.use( store, '$store' ); const routes = [ { path: '/', name: 'Main', component: async () => PlayView}, { path: '/changelog', name: 'Changelog', component: async () => ChangelogView}, + { path: '/mods', name: 'Mods', component: async () => ModsView}, { path: '/settings', name: 'Settings', component: async () => SettingsView}, { path: '/dev', name: 'Dev', component: async () => DeveloperView} ]; |