Closed franklinqin0 closed 1 year ago
https://github.com/vuepress-reco/vuepress-theme-reco/blob/61c8e7a0b8e73ed8d89679c28de5daf764d6f1ff/packages/vuepress-theme-reco/src/client/components/Home/Blog.vue#L17
I find it weird that the "/1" is there. Why don't we just do the following?
<router-link class="category-link" :to="`/categories/${key}/`">
Because the data is already paged, it jumps to the first page by default.
https://github.com/vuepress-reco/vuepress-theme-reco/blob/61c8e7a0b8e73ed8d89679c28de5daf764d6f1ff/packages/vuepress-theme-reco/src/client/components/Home/Blog.vue#L17
I find it weird that the "/1" is there. Why don't we just do the following?