Skip to content

Instantly share code, notes, and snippets.

@dimitrisnl
Created December 7, 2017 22:43
Show Gist options
  • Select an option

  • Save dimitrisnl/2dc2e113dcf965ee6d76368cdfed5f11 to your computer and use it in GitHub Desktop.

Select an option

Save dimitrisnl/2dc2e113dcf965ee6d76368cdfed5f11 to your computer and use it in GitHub Desktop.
import List from './TournamentsList'
import Single from './Tournament'
import tournamentRoutes from './Tournament/routes'
export default [
{
path: '',
name: 'tournaments-list',
component: List,
meta: {
requiresAuth: true
},
},
{
path: ':tournamentid',
component: Single,
meta: {
requiresAuth: true
},
children: tournamentRoutes
},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment