committed by
Julius Härtl
parent
cba260fefd
commit
3c5f68e0c3
@@ -29,6 +29,7 @@ import Board from './components/board/Board'
|
||||
import Sidebar from './components/Sidebar'
|
||||
import BoardSidebar from './components/board/BoardSidebar'
|
||||
import CardSidebar from './components/card/CardSidebar'
|
||||
import Dashboards from './components/dashboards/Dashboards'
|
||||
|
||||
Vue.use(Router)
|
||||
|
||||
@@ -41,6 +42,20 @@ export default new Router({
|
||||
name: 'main',
|
||||
component: Boards,
|
||||
},
|
||||
{
|
||||
path: '/dashboards/:filter',
|
||||
name: 'dashboards',
|
||||
components: {
|
||||
default: Dashboards,
|
||||
},
|
||||
props: {
|
||||
default: (route) => {
|
||||
return {
|
||||
filter: route.params.filter,
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
path: '/board',
|
||||
name: 'boards',
|
||||
|
||||
Reference in New Issue
Block a user