Avoid dupulicated route name
This commit is contained in:
@@ -146,7 +146,7 @@ init(async (launch, os) => {
|
||||
{ path: '/tags/:tag', name: 'tag', component: () => import('./views/deck/deck.hashtag-column.vue').then(m => m.default) },
|
||||
{ path: '/featured', name: 'featured', component: () => import('./views/deck/deck.featured-column.vue').then(m => m.default) },
|
||||
{ path: '/explore', name: 'explore', component: () => import('./views/deck/deck.explore-column.vue').then(m => m.default) },
|
||||
{ path: '/explore/tags/:tag', props: true, component: () => import('./views/deck/deck.explore-column.vue').then(m => m.default) },
|
||||
{ path: '/explore/tags/:tag', name: 'explore-tag', props: true, component: () => import('./views/deck/deck.explore-column.vue').then(m => m.default) },
|
||||
{ path: '/i/favorites', component: () => import('./views/deck/deck.favorites-column.vue').then(m => m.default) }
|
||||
]}
|
||||
: { path: '/', component: MkHome, children: [
|
||||
@@ -161,7 +161,7 @@ init(async (launch, os) => {
|
||||
{ path: '/tags/:tag', name: 'tag', component: () => import('./views/home/tag.vue').then(m => m.default) },
|
||||
{ path: '/featured', name: 'featured', component: () => import('./views/home/featured.vue').then(m => m.default) },
|
||||
{ path: '/explore', name: 'explore', component: () => import('../common/views/pages/explore.vue').then(m => m.default) },
|
||||
{ path: '/explore/tags/:tag', name: 'explore', props: true, component: () => import('../common/views/pages/explore.vue').then(m => m.default) },
|
||||
{ path: '/explore/tags/:tag', name: 'explore-tag', props: true, component: () => import('../common/views/pages/explore.vue').then(m => m.default) },
|
||||
{ path: '/i/favorites', component: () => import('./views/home/favorites.vue').then(m => m.default) },
|
||||
]},
|
||||
{ path: '/i/messaging/:user', component: MkMessagingRoom },
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<li class="featured" :class="{ active: $route.name == 'featured' }">
|
||||
<router-link to="/featured"><fa :icon="faNewspaper"/><p>{{ $t('@.featured-notes') }}</p></router-link>
|
||||
</li>
|
||||
<li class="explore" :class="{ active: $route.name == 'explore' }">
|
||||
<li class="explore" :class="{ active: $route.name == 'explore' || $route.name == 'explore-tag' }">
|
||||
<router-link to="/explore"><fa :icon="faHashtag"/><p>{{ $t('@.explore') }}</p></router-link>
|
||||
</li>
|
||||
<li class="game">
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<div class="featured" :class="{ active: $route.name == 'featured' }">
|
||||
<router-link to="/featured"><fa :icon="faNewspaper"/></router-link>
|
||||
</div>
|
||||
<div class="explore" :class="{ active: $route.name == 'explore' }">
|
||||
<div class="explore" :class="{ active: $route.name == 'explore' || $route.name == 'explore-tag' }">
|
||||
<router-link to="/explore"><fa :icon="faHashtag"/></router-link>
|
||||
</div>
|
||||
<div class="game">
|
||||
|
||||
Reference in New Issue
Block a user