Working on adding a workspace/ sidebar view
This commit is contained in:
31
src/views/Workspace.vue
Normal file
31
src/views/Workspace.vue
Normal file
@@ -0,0 +1,31 @@
|
||||
<template>
|
||||
<div class="work-space">
|
||||
<SideBar :sections="sections" />
|
||||
<WebContent :url="url" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
import SideBar from '@/components/Workspace/SideBar';
|
||||
import WebContent from '@/components/Workspace/WebContent';
|
||||
|
||||
export default {
|
||||
name: 'Workspace',
|
||||
props: {
|
||||
sections: Array,
|
||||
},
|
||||
data: () => ({
|
||||
url: '',
|
||||
}),
|
||||
components: {
|
||||
SideBar,
|
||||
WebContent,
|
||||
},
|
||||
};
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user