welcome to nuxt glorious

File

A component for get file


Example

Simple example for GFile

file
            
 <GFile />

        

config

config for global setting , set on nuxt.config

            
glorious:{
    components:{
        file:{
            props:{
                color:'green',
                size:'md',
                placeholder:'',
                title:'file',
                text:'No file has been selected',
                required:false,
            }
        }
    }
}

        

props

PropTypeDefault
model valueany
colororange | blue | gray | red | primaryprimary
sizexl | lg | md | sm | xsmd
errorstring|
placeholderstring''
titlestringfile
textstringNo file has been selected
requiredbooleanfalse