|
@@ -1,6 +1,6 @@
|
|
|
|
|
|
import HomePage from '../pages/home.vue'
|
|
|
-import RadioPage from '../pages/Radio.vue'
|
|
|
+import RadioShowsPage from '../pages/RadioShows.vue'
|
|
|
import ShowPage from '../pages/Show.vue'
|
|
|
import NotFoundPage from '../pages/404.vue'
|
|
|
|
|
@@ -10,10 +10,12 @@ var routes = [
|
|
|
master: true,
|
|
|
component: HomePage,
|
|
|
detailRoutes: [{
|
|
|
- path: '/radio/:radioName',
|
|
|
- component: RadioPage,
|
|
|
+ name: 'RadioShows',
|
|
|
+ path: '/radio/:radioName/shows',
|
|
|
+ component: RadioShowsPage,
|
|
|
},
|
|
|
{
|
|
|
+ name: 'ShowPage',
|
|
|
path: '/radio/:radioId/shows/:showId',
|
|
|
component: ShowPage
|
|
|
}],
|