Repository URL to install this package:
|
Version:
2.29.6a ▾
|
| app |
| config |
| lib |
| spec |
| vendor |
| MIT-LICENSE |
| README.md |
| Rakefile |
UIKit depends on bower to manage its assets dependency. Make sure you have bower installed on your computer. On a Mac, it's probably just:
brew install nodejs # follow on screen instructions after for PATH modification
npm -g install bower
Add this to your Gemfile (assuming rails 4) and bundle
gem 'j-uikit', git: "git://gitlab.jugnoo.com:apps/j-uikit-gem.git"
Then copy contents of bower.json into your app's bower.json and run rake bower:install in your app. You may change the version dependencies as necessary.
Include UIKit into your application directly through javascript_include_tag and stylesheet_link_tag. UIKit has been configured to build independently using the Rails assets pipeline.
Note: In previous versions of UIKit, we allow you to mix uikit into your application css and js. This is no longer supported.
UIkit provide many SASS mixins for you to use in your application. These mixins are all available under the j-ui-kit/mixins directory. To include all mixins, simple declare the following at the top of your SASS file:
@import "j-ui-kit/mixins/all";