1.1.12 • Published 7 years ago
vue-container-component v1.1.12
vue-container-component
A simple container component inspired on Bootstrap container
Getting Started
NPM
$ npm install vue-container-component --saveClone 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