Move sidbar into a component
This commit is contained in:
parent
762278b437
commit
61e1cdfcf0
4 changed files with 44 additions and 54 deletions
|
|
@ -4,9 +4,11 @@ import router from './router'
|
|||
|
||||
Vue.config.productionTip = false
|
||||
|
||||
import Sidebar from '@/components/Sidebar'
|
||||
import Navbar from '@/components/Navbar'
|
||||
|
||||
Vue.component('navbar', Navbar);
|
||||
Vue.component('sidebar', Sidebar);
|
||||
|
||||
new Vue({
|
||||
render: h => h(App),
|
||||
|
|
|
|||
Reference in a new issue