Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davydovanton/hanami-bootstrap
Bootstrap wrapper for hanami framework.
https://github.com/davydovanton/hanami-bootstrap
bootstrap hanami wrapper
Last synced: 3 months ago
JSON representation
Bootstrap wrapper for hanami framework.
- Host: GitHub
- URL: https://github.com/davydovanton/hanami-bootstrap
- Owner: davydovanton
- License: mit
- Created: 2016-01-08T17:14:02.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-09-19T10:52:25.000Z (over 2 years ago)
- Last Synced: 2024-10-06T04:37:50.538Z (4 months ago)
- Topics: bootstrap, hanami, wrapper
- Language: Ruby
- Homepage:
- Size: 180 KB
- Stars: 14
- Watchers: 3
- Forks: 11
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-hanami - hanami-bootstrap - Bootstrap wrapper for hanami framework. (Hanami Gem List / Assets)
README
# Hanami::Bootstrap
[Bootstrap](http://getbootstrap.com/) wrapper for [hanami](http://hanamirb.org/) framework.
This wrapper provide HEAD version of bootstrap.Also you can use [bootstrap-rubygem](https://github.com/twbs/bootstrap-rubygem) gem which support hanami framework.
## Installation
**Important:** this wrapper required jquery library.
You can use [jquery-lotus](https://github.com/Nerian/jquery-lotus) gem or add jquery.js to you assets directory.Add this line to your application's Gemfile:
``` ruby
gem 'hanami-bootstrap'
```And then execute:
$ bundle
Or install it yourself as:
$ gem install hanami-bootstrap
## Usage
Add bootstrap to your template:``` erb
<%= stylesheet 'bootstrap' %>
<%= javascript 'bootstrap' %>
```## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/davydovanton/hanami-bootstrap. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).