✨ Added settings window
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user