admin_lte-rails
admin_lte-rails copied to clipboard
Usage outside of rails app
Hi, Can you provide a guide on how to use this lib outside of an app? Also how much updated is this app?
I mean which version of admin lte is this library based on?
If you want to use the assets directly outside of a Rails application, all you have to do is to run the following commands:
bundle update
rake convert
It would get the recent version of admin lte gem and convert it to RTL.
Also please bear in mind that in order to use the convert
rake task you need nodejs
and cssjanus
( node library )
For commands bund
and rake
should I run gem install bundler
and gem install rake
subsequently?
Also, can you please elaborate where are the built files?
You would only need the bundler
. bundle install
would install all the ruby dependencies.
As for the second question, I need to know what are you trying to do, so I can help you ?
In fact I have an app that is already using adminlte.
What I want to do is make it rtl. So I thought adding 2 or 3 css file would make it rtl.
Is this possible?
or what's the proper way of converting a working app of adminlte to rtl?
Ok, you can do it by adding the css files, but you might change your html layout a little bit too. What kind of assets pipeline are you using ?