https://github.com/kavalcante/vue-container-component
Simple container component inspired on Bootstrap Container
https://github.com/kavalcante/vue-container-component
component vue vuejs-components vuejs2
Last synced: 10 months ago
JSON representation
Simple container component inspired on Bootstrap Container
- Host: GitHub
- URL: https://github.com/kavalcante/vue-container-component
- Owner: kavalcante
- License: mit
- Created: 2018-07-25T23:07:25.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-04T17:56:47.000Z (over 7 years ago)
- Last Synced: 2025-01-08T17:09:12.686Z (11 months ago)
- Topics: component, vue, vuejs-components, vuejs2
- Language: JavaScript
- Size: 197 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-vue - vue-container-component - Simple container component inspired on Bootstrap Container (UI Layout [🔝](#readme))
- awesome-vue-zh - Vue容器分量 - 灵感来自Bootstrap Container的简单容器组件 (UI布局 / 游览)
- awesome-vue - vue-container-component ★0 - Simple container component inspired on Bootstrap Container (UI Layout / Tour)
- awesome-vue - vue-container-component - Simple container component inspired on Bootstrap Container (UI Layout / Tour)
- awesome-vue - vue-container-component - Simple container component inspired on Bootstrap Container (Components & Libraries / UI Layout)
README
# vue-container-component
A simple container component inspired on Bootstrap container
## Getting Started
#### NPM
```bash
$ npm install vue-container-component --save
```
#### Clone this repo
Clone or [download](https://github.com/kavalcante/vue-container-component/archive/master.zip) the component and save in your own project.
## Installing
#### ES6
```js
import container from 'vue-container-component';
new Vue({
components: {
container
}
})
```
#### CommonJS
```js
var container = require('vue-container-component');
new Vue({
components: {
'container': container
}
})
```
## USAGE
#### Common usage
```html
```
#### Container fluid
```html
```
#### Custom tag
```html
```
## 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](LICENSE.md) file for details