Added settings window

This commit is contained in:
2025-05-18 16:16:27 +08:00
parent 4e291b889b
commit 7f25dc942e
13 changed files with 180 additions and 36 deletions

View File

@@ -1,10 +1,9 @@
<script setup lang="ts">
import {onMounted} from 'vue';
import Editor from '@/editor/Editor.vue';
import Toolbar from '@/components/toolbar/Toolbar.vue';
import {useConfigStore} from "@/stores/configStore";
const configStore = useConfigStore();
onMounted(async () => {
await configStore.loadConfigFromBackend();
})
@@ -12,10 +11,7 @@ onMounted(async () => {
<template>
<div class="app-container">
<div class="editor-wrapper">
<Editor/>
</div>
<Toolbar/>
<router-view/>
</div>
</template>
@@ -25,12 +21,5 @@ onMounted(async () => {
height: 100vh;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
.editor-wrapper {
flex: 1;
overflow: hidden;
}
}
</style>