welcome to nuxt glorious

Alert

A callout to draw user's attention.


Example

add color prop until change alert color

this is simple example

            
<GAlert>
    <p>this is simple example</p>
</GAlert>

        

config

config for global setting , set on nuxt.config

            
glorious:{
    components:{
        alert:{
            props:{
                color:'red'
            }
        }
    }
}

        

props

PropTypeDefault
colororange | blue | gray | red | primaryprimary

slots

slottype
defaultany