✨ Add configuration information file storage
This commit is contained in:
@@ -1,14 +1,21 @@
|
||||
<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();
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<div class="editor-wrapper">
|
||||
<Editor />
|
||||
<Editor/>
|
||||
</div>
|
||||
<Toolbar />
|
||||
<Toolbar/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -20,7 +27,7 @@ import Toolbar from '@/components/toolbar/Toolbar.vue';
|
||||
padding: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
|
||||
.editor-wrapper {
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
|
Reference in New Issue
Block a user