aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src/views/DeveloperView.vue
diff options
context:
space:
mode:
authorAlystrasz <contact@remyraes.com>2022-09-26 18:59:06 +0200
committerAlystrasz <contact@remyraes.com>2022-09-26 18:59:06 +0200
commit7ebd5bbbdb4ce004e7d67ce33fb08957b89d1b53 (patch)
tree2474ad1507f26ed2466ece19d0b7f51c1ccc473d /src-vue/src/views/DeveloperView.vue
parent7c2d1e8c64ff098cf9d953db0c764161055fc62d (diff)
downloadFlightCore-7ebd5bbbdb4ce004e7d67ce33fb08957b89d1b53.tar.gz
FlightCore-7ebd5bbbdb4ce004e7d67ce33fb08957b89d1b53.zip
feat: add DeveloperView component
Diffstat (limited to 'src-vue/src/views/DeveloperView.vue')
-rw-r--r--src-vue/src/views/DeveloperView.vue24
1 files changed, 24 insertions, 0 deletions
diff --git a/src-vue/src/views/DeveloperView.vue b/src-vue/src/views/DeveloperView.vue
new file mode 100644
index 00000000..8dcc9608
--- /dev/null
+++ b/src-vue/src/views/DeveloperView.vue
@@ -0,0 +1,24 @@
+<template>
+ <div class="fc__developer__container">
+ <el-button type="primary" @click="disableDevMode">
+ Disable developer mode
+ </el-button>
+ </div>
+</template>
+
+<script lang="ts">
+export default {
+ name: "DeveloperView",
+ methods: {
+ disableDevMode() {
+ this.$store.commit('toggleDeveloperMode');
+ }
+ }
+}
+</script>
+
+<style scoped>
+.fc__developer__container {
+ padding: 20px 30px;
+}
+</style>