n8n/packages/editor-ui/src/App.vue
2019-06-23 12:35:23 +02:00

48 lines
569 B
Vue

<template>
<div id="app">
<div id="header">
<router-view name="header"></router-view>
</div>
<div id="sidebar">
<router-view name="sidebar"></router-view>
</div>
<div id="content">
<router-view />
</div>
</div>
</template>
<script lang="ts">
export default {
name: 'App',
};
</script>
<style lang="scss">
#app {
padding: 0;
margin: 0 auto;
}
#content {
position: relative;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
#header {
z-index: 10;
position: fixed;
width: 100%;
}
#sidebar {
z-index: 15;
position: fixed;
}
</style>