I have purchased flatkit theme from themeforst but I don't know how to integrate purchased theme with rails 5 application ?
Asked
Active
Viewed 1,195 times
3
-
I think you need to ask a more specific, less open ended question. – Glenn Howes Sep 02 '16 at 04:57
-
This is not a question you can ask here. If you don't know how you don't know rails. If you know, you can split theme parts into view and inject ruby code where you need data. – Pradeep Sapkota Sep 02 '16 at 05:08
1 Answers
7
I got the solution.
Step1: Place the asset files in vendor directory.
Step2: Import required css & scss file by add require statement in application.css
ex) *=require assets/animate.css/animate.min.css
note: animate.min.css stored in location app-directory/vendor/assets/animate.css
step3: Import required js files by add require statement in application.js
ex) //= require html/scripts/ui-nav.js
note: ui-nav.js stored in location app-dir/vendor/html/scripts/ui-nav.js
Step4: Configure asset path by add following statement in assets.rb Rails.application.config.assets.paths << Rails.root.join('vendor')
Now you can access your theme future.

Premanandh Selvakumarasamy
- 1,332
- 7
- 27