Vue Flag Pack
A project made by Yummygum
Installation
npm install vue-flag-pack
Use
Use as a plugin
Vue
Use in your template:
Or import straight away
Vue
Or use via UNPKG network
Available plugin options
key | value | required | default |
---|---|---|---|
name | String | false | vue-flag-pack |
Available component options
key | value | required | default | format |
---|---|---|---|---|
code | String | true | none | see all codes |
size | String | false | l | 's', 'm' or 'l' |
className | String | false | - | - |
dropshadow | boolean | false | false | - |
hasBorder | boolean | false | true | - |
hasBorderRadius | boolean | false | true | - |
customBorderRadius | String | false | - | - |
gradient | String | false | '' | 'top-down', 'real-linear' or 'real-circular' |
Build Dist
# install dependencies npm install # build for prod npm run build