Extract header buttons into a component
This commit is contained in:
parent
61e1cdfcf0
commit
56e658ec2f
4 changed files with 52 additions and 34 deletions
|
|
@ -4,9 +4,11 @@ import router from './router'
|
|||
|
||||
Vue.config.productionTip = false
|
||||
|
||||
import HeaderButtons from '@/components/HeaderButtons'
|
||||
import Sidebar from '@/components/Sidebar'
|
||||
import Navbar from '@/components/Navbar'
|
||||
|
||||
Vue.component('header-buttons', HeaderButtons);
|
||||
Vue.component('navbar', Navbar);
|
||||
Vue.component('sidebar', Sidebar);
|
||||
|
||||
|
|
|
|||
Reference in a new issue