TODO:
Add this line to your application's Gemfile:
gem 'component_swarm'
And then execute:
$ bundle
Or install it yourself as:
$ gem install component_swarm
TODO:
{
"css": [
"main",
"header",
"body"
],
"js": [
"main"
],
"libs": [
"jquery"
],
"dependencies": [
"component_2"
]
}
app/assets/components/
├── component_1
│ ├── css
│ │ ├── body.css.scss
│ │ ├── header.css.scss
│ │ └── main.css.scss
│ ├── js
│ │ └── main.js
│ └── manifest.json
└── component_2
├── css
│ └── main.css.scss
└── manifest.json
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request