1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-06 18:18:53 +08:00

change code structure

This commit is contained in:
lana-k
2021-05-04 14:13:58 +02:00
parent a07f2d3d99
commit cc483f4720
72 changed files with 297 additions and 311 deletions

25
src/views/Main/index.vue Normal file
View File

@@ -0,0 +1,25 @@
<template>
<div>
<main-menu />
<keep-alive include="Editor">
<router-view id="main-view" />
</keep-alive>
</div>
</template>
<script>
import MainMenu from './MainMenu'
import '@/assets/styles/scrollbars.css'
export default {
name: 'Main',
components: { MainMenu }
}
</script>
<style scoped>
#main-view {
margin-top: 68px;
height: calc(100vh - 68px);
overflow-y: auto;
}
</style>