@liqueflies/vue-flex-grid
v0.0.1
Published
A powerful flexbox grid system for Vue.js 2.x, based on flexboxgrid and css-modules.
Downloads
2
Maintainers
Readme
vue-flex-grid
A powerful flexbox grid system for Vue.js 2.x, based on flexboxgrid and css-modules.
Installation
npm install @liqueflies/vue-flex-grid --save
# or
yarn add @liqueflies/vue-flex-grid
Example usage
import VueGrid from '@liqueflies/vue-flex-grid'
Vue.use(VueGrid)
This instruction will install 3 components, Grid
, Row
, Column
.
Please refer to Documentation for more details.
An example of code using vue-grid
:
<grid>
<row>
<column :sm="6" :md="3">
<img src="http://unsplash.it/800x800" class="img-fluid" alt="placeholder" />
</column>
<column :sm="6" :md="3">
<img src="http://unsplash.it/800x800" class="img-fluid" alt="placeholder" />
</column>
<column :sm="6" :md="3">
<img src="http://unsplash.it/800x800" class="img-fluid" alt="placeholder" />
</column>
<column :sm="6" :md="3">
<img src="http://unsplash.it/800x800" class="img-fluid" alt="placeholder" />
</column>
</row>
</grid>
Documentation
View the Documentation
Examples
npm run examples
Credits
Inpired by react-flexbox-grid
License
Copyright (c) 2017 Lorenzo Girardi