https://github.com/ericboehs/uikit-on-rails
https://github.com/ericboehs/uikit-on-rails
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ericboehs/uikit-on-rails
- Owner: ericboehs
- Created: 2016-09-03T20:39:05.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-03T21:36:55.000Z (almost 10 years ago)
- Last Synced: 2025-06-04T23:22:17.821Z (about 1 year ago)
- Language: Ruby
- Size: 633 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# UIKit on Rails
## Installation
In Bundler:
```ruby
gem "uikit-on-rails"
```
And then execute:
```bash
bundle
```
Or install it yourself as::
```bash
gem install uikit-in-rails
```
### Add UIkit to your CSS
Append the following line to your `app/assets/stylesheets/application.css` file:
```css
/*= require uikit */
```
If you're planning on using Sass, then you'll want to rename `application.css` to `application.sass`. That file should then look like:
```css
@import "uikit"
```
### Add UIkit to your JS
Append the following line to your `app/assets/javascripts/application.js` file:
```javascript
//= require uikit
```