[Pagination]: Option to generate <a>
instead of <button>
#1478
Labels
enhancement
New feature or request
<a>
instead of <button>
#1478
Description
The
<UPagination
generates<button>
elements and attaches an on-click event handler to update thepage
v-model.One shortcoming with the is that when you
nuxt generate
, the Nitro crawler does not see the pagination links and can't follow them, leading to only the first page being generated (or at least that's my understanding). I think that would be same issue with Google bots not being able to identify pagination links.The feature I am requesting is to add a prop or a few props that work together to add the functionality to generate
<a>
s instead of<button>
s with corresponding pathname or query params.Now, there are 2 ways I can think someone would implement pagination in the URL.
/category/catname?page=4
/category/catname/4
Thought?
Additional context
No response
The text was updated successfully, but these errors were encountered: