Semantic UI
This is a gem for Rails with Semantic UI assets inside.
NOTE
The gem only has default theme.
Installation
Add this line to your application's Gemfile:
gem 'semantic_ui', github: 'sagarmrey/semantic_ui'
And then execute:
$ bundle
Usage
Require jquery.js
and semantic.js
in app/assets/application.js
:
...
// require jquery before loading any other javascripts
//= require jquery
...
...
// require semantic after loading all the javascripts
//= require semantic
...
Example app/assets/application.js
:
...
//= require jquery
//= require rails-ujs
//= require turbolinks
//= require_tree .
//= require semantic
...
Require semantic.css
in app/assets/application.css
:
...
*= require semantic
...
TODO
Versioning
This gem will directly track the semantic versioning of the Semantic UI project.
Contributing
- Fork it ( https://github.com/sagarmrey/semantic_ui )
- 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 a new Pull Request
License
The gem is available as open source under the terms of the MIT License.