diff --git a/src/App.vue b/src/App.vue index ff8643ca..56017e20 100644 --- a/src/App.vue +++ b/src/App.vue @@ -7,6 +7,7 @@ Top New + Best Show Ask Jobs @@ -62,7 +63,7 @@ a &.router-link-active color #fff font-weight 400 - &:nth-child(6) + &:nth-child(7) margin-right 0 .github color #fff diff --git a/src/router/index.js b/src/router/index.js index d6546c52..4eb84b55 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -19,6 +19,7 @@ export function createRouter () { { path: '/show/:page(\\d+)?', component: createListView('show') }, { path: '/ask/:page(\\d+)?', component: createListView('ask') }, { path: '/job/:page(\\d+)?', component: createListView('job') }, + { path: '/best/:page(\\d+)?', component: createListView('best') }, { path: '/item/:id(\\d+)', component: ItemView }, { path: '/user/:id', component: UserView }, { path: '/', redirect: '/top' }