VueFlex
A flexbox grid system.
setup
npm
ES module
Register the components globally.
or
Register the components in the scope of another instance.
browser
If Vue is detected, the components will be registered automatically.
usage
Nested boxes inherit spacing from their parent.
Provide any unit.
components
VueFlexBox
name
vue-flex-box
properties
property | type | default |
---|---|---|
tag |
String |
'div' |
directionColumn |
Boolean |
false |
reverseDirection |
Boolean |
false |
wrap |
Boolean |
false |
reverseWrap |
Boolean |
false |
justifyContent |
String |
'flex-start' |
alignItems |
String |
'stretch' |
alignContent |
String |
'stretch' |
spacing |
[Number, String] |
0 |
VueFlexItem
name
vue-flex-item
properties
property | type | default |
---|---|---|
tag |
String |
'div' |