Skip to content

kavalcante/vue-container-component

Repository files navigation

vue-container-component

A simple container component inspired on Bootstrap container

Getting Started

NPM

$ npm install vue-container-component --save

Clone this repo

Clone or download the component and save in your own project.

Installing

ES6

import container from 'vue-container-component';

new Vue({
  components: {
    container
  }
})

CommonJS

var container = require('vue-container-component');

new Vue({
  components: {
    'container': container
  }
})

USAGE

Common usage

<container>
  <!-- content -->
</container>

Container fluid

<container fluid>
  <!-- content -->
</container>

Custom tag

<container tag="section">
  <!-- content -->
</container>

Attributes

Option Default Type Description
fluid false boolean Enable container fluid
tag div string Custom element tag

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Simple container component inspired on Bootstrap Container

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published