gridfy-vue
Dynamic Layout with CSS Grid on Vue
Generated using vue-cli-template-library.
Installation
npm install gridfy-vue
#
yarn add gridfy-vue
gridfy-vue can be used as a module in both CommonJS and ES modular environments.
When in non-modular environment, gridfy-vue will register all the components to vue by itself.
ES6
//// You can register a component manually//; ... components: Grid ...; //// or register the whole module with vue//; // Install this libraryVue;
CommonJS
//// You can register a component manually//var Vue = ;var Gridfy = ; var YourComponent = Vue; //// or register the whole module with vue//var Vue = ;var Gridfy = ; // Install this libraryVue;
Browser
<!-- Components are registered globally -->
After that, you can use it in your templates:
<!-- Static grid --> Column 1 Column 2 Column 2 <!-- Dynamic grid --> Column 1 Column 1 Column 2 Column 2 <!-- Auto grid --> Column 1 Column 2 Column 2 <!-- Stacked grid --> Column 1 Column 2 Column 2 Column 1 Column 2
Changelog
See the GitHub release history.
Contributing
See CONTRIBUTING.md.