diff --git a/client/src/App.vue b/client/src/App.vue index 83d0232..53f0413 100644 --- a/client/src/App.vue +++ b/client/src/App.vue @@ -1,24 +1,34 @@ + + diff --git a/client/src/layouts/Home.vue b/client/src/layouts/Home.vue new file mode 100644 index 0000000..56a8b72 --- /dev/null +++ b/client/src/layouts/Home.vue @@ -0,0 +1,5 @@ + diff --git a/client/src/router.js b/client/src/router.js index 8f286f1..9cf7f6d 100644 --- a/client/src/router.js +++ b/client/src/router.js @@ -3,6 +3,7 @@ import Router from 'vue-router' import Home from '@/views/Home.vue' import Summoner from '@/views/Summoner.vue' +import SummonerChampions from '@/views/SummonerChampions.vue' Vue.use(Router) @@ -13,12 +14,20 @@ export default new Router({ { path: '/', name: 'home', - component: Home + component: Home, + meta: { + layout: 'Home' + } }, { path: '/summoner/:region/:name', name: 'summoner', component: Summoner - } + }, + { + path: '/summoner/:region/:name/champions', + name: 'summonerChampions', + component: SummonerChampions + }, ] }) \ No newline at end of file diff --git a/client/src/views/Summoner.vue b/client/src/views/Summoner.vue index a9bb53b..9e5a51d 100644 --- a/client/src/views/Summoner.vue +++ b/client/src/views/Summoner.vue @@ -1,232 +1,55 @@ + - - diff --git a/client/src/views/SummonerChampions.vue b/client/src/views/SummonerChampions.vue new file mode 100644 index 0000000..c3b3184 --- /dev/null +++ b/client/src/views/SummonerChampions.vue @@ -0,0 +1,7 @@ +