Home

Issue: 342

How to add sub component link?

[issue link]

Hi.
I am coding for pagination. But I’m having trouble creating components url within the component url.

Category Post First Page
Folder: pages/category/_id.vue
Url : /category/6

route.params.id= 6

This works, no problem.

But I’m getting an error when, I try to page the category id pagination links. I want to

Example Category Pagination Pages
Folder: pages/category/page/_id.vue . -> (id.vue pagination current_page count.)
Url: /category/6/page/40

->6 this category id.
->40 pagination current_page count.

But, always return 404. Where is wrong ? Also what will be the route params id in such a link? Because there are 2 rotating id values.

This question is available on Nuxt.js community (#c291)