diff options
author | Alystrasz <contact@remyraes.com> | 2022-09-26 18:59:06 +0200 |
---|---|---|
committer | Alystrasz <contact@remyraes.com> | 2022-09-26 18:59:06 +0200 |
commit | 7ebd5bbbdb4ce004e7d67ce33fb08957b89d1b53 (patch) | |
tree | 2474ad1507f26ed2466ece19d0b7f51c1ccc473d /src-vue/src/App.vue | |
parent | 7c2d1e8c64ff098cf9d953db0c764161055fc62d (diff) | |
download | FlightCore-7ebd5bbbdb4ce004e7d67ce33fb08957b89d1b53.tar.gz FlightCore-7ebd5bbbdb4ce004e7d67ce33fb08957b89d1b53.zip |
feat: add DeveloperView component
Diffstat (limited to 'src-vue/src/App.vue')
-rw-r--r-- | src-vue/src/App.vue | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src-vue/src/App.vue b/src-vue/src/App.vue index 64acc389..7fbe4045 100644 --- a/src-vue/src/App.vue +++ b/src-vue/src/App.vue @@ -1,4 +1,5 @@ <script lang="ts"> +import DeveloperView from './views/DeveloperView.vue'; import PlayView from './views/PlayView.vue'; import SettingsView from './views/SettingsView.vue'; import { appWindow } from '@tauri-apps/api/window'; @@ -6,6 +7,7 @@ import { store } from './plugins/store'; export default { components: { + DeveloperView, PlayView, SettingsView }, @@ -33,7 +35,9 @@ export default { <el-tab-pane name="Changelog" label="Changelog">Changelog</el-tab-pane> <!-- <el-tab-pane label="Mods">Mods</el-tab-pane> --> <el-tab-pane name="Settings" label="Settings"><SettingsView/></el-tab-pane> - <el-tab-pane v-if="$store.state.developer_mode" name="Dev" label="Dev">Developer tools</el-tab-pane> + <el-tab-pane v-if="$store.state.developer_mode" name="Dev" label="Dev"> + <DeveloperView/> + </el-tab-pane> </el-tabs> <div id="fc_window__controls"> <el-button color="white" icon="SemiSelect" @click="minimize" circle /> |