Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Commit

Permalink
implement vuejs#347
Browse files Browse the repository at this point in the history
  • Loading branch information
Nickwasused committed May 10, 2022
1 parent 9adbe21 commit 068ddb0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
</router-link>
<router-link to="/top">Top</router-link>
<router-link to="/new">New</router-link>
<router-link to="/best">Best</router-link>
<router-link to="/show">Show</router-link>
<router-link to="/ask">Ask</router-link>
<router-link to="/job">Jobs</router-link>
Expand Down Expand Up @@ -64,7 +65,7 @@ a
&.router-link-active
color #fff
font-weight 400
&:nth-child(6)
&:nth-child(7)
margin-right 0
.github
color #fff
Expand Down
1 change: 1 addition & 0 deletions src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export function createRouter () {
routes: [
{ path: '/top/:page(\\d+)?', component: createListView('top') },
{ path: '/new/:page(\\d+)?', component: createListView('new') },
{ path: '/best/:page(\\d+)?', component: createListView('best') },
{ path: '/show/:page(\\d+)?', component: createListView('show') },
{ path: '/ask/:page(\\d+)?', component: createListView('ask') },
{ path: '/job/:page(\\d+)?', component: createListView('job') },
Expand Down

0 comments on commit 068ddb0

Please sign in to comment.