Added base layout for sidebar, playerbar, homepage and actionbar

pull/1/head
Nikan Dalvand 2019-07-19 20:44:20 +04:30
parent b59f0f088f
commit 829f4aaf99
5 changed files with 60 additions and 7 deletions

View File

@ -1,13 +1,18 @@
<template>
<div id="app">
<DockableSidebar />
<router-view></router-view>
<PlayerBar />
</div>
</template>
<script>
export default {
name: 'jukebox'
}
import DockableSidebar from './layouts/DockableSidebar'
import PlayerBar from './layouts/PlayerBar'
export default {
name: 'jukebox',
components: {DockableSidebar, PlayerBar}
}
</script>
<style lang="sass">

View File

@ -0,0 +1,15 @@
<template>
<div>
ActionBar
</div>
</template>
<script>
export default {
name: 'ActionBar'
}
</script>
<style>
</style>

View File

@ -0,0 +1,15 @@
<template>
<section>
Sidebar
</section>
</template>
<script>
export default {
name: 'DockableSidebar'
}
</script>
<style>
</style>

View File

@ -1,12 +1,15 @@
<template>
<div>
Home page
</div>
<section>
<ActionBar />
HomePage
</section>
</template>
<script>
import ActionBar from './ActionBar'
export default {
name: 'HomePage'
name: 'HomePage',
components: {ActionBar}
}
</script>

View File

@ -0,0 +1,15 @@
<template>
<section>
Player
</section>
</template>
<script>
export default {
name: 'PlayerBar'
}
</script>
<style>
</style>