Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.
/ vue-flex-grid Public archive

A powerful flexbox grid system for Vue.js 2.x, based on flexboxgrid and css-modules.

License

Notifications You must be signed in to change notification settings

liqueflies/vue-flex-grid

Repository files navigation

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

Examples

  npm run examples

Credits

Inpired by react-flexbox-grid

License

MIT

Copyright (c) 2017 Lorenzo Girardi

About

A powerful flexbox grid system for Vue.js 2.x, based on flexboxgrid and css-modules.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published