welcome to nuxt glorious

Paginate

A list of buttons or links to navigate through pages.


Example

simple example for paginate component

1
2
3
4
5
            
<GPaginate
    :current-page="2"
    :last-page="5"
/>

        

config

config for global setting , set on nuxt.config

            
glorious:{
    components:{
        paginate:{
            props:{
                numberSuggestPage:3,
            }
        }
    }
}

        

props

PropTypeDefault
colororange | blue | gray | red | primarygreen
currentPagenumber1
lastPagenumber1
numberSuggestPagenumber3

slots

slotDefault
defaultany

emits

emitDefault
changeobject