Installing SmartWizard in Rails app

381 Views Asked by At

I was implementing Gentelella Admin Theme in my Rails 5 application. There's already a sample Gentelella Rails 5 app mentioned in their readme but it doesnt have SmartWizard yet. However, the original theme has it already embedded into it. I still want to use it but im unable to do so. Here's what i tried out yet:

  1. Installed smartwizard from npm repositories using YARN.
  2. Updated my application.js and application.scss
  3. Added node_modules to assets path in assets.rb

This is what i ended up having(cropped image): enter image description here

However, what i want is here

Using Rails 5.0.4

1

There are 1 best solutions below

0
On

you need to init the wizard

$(document).ready(function(){
   $('#YOUR_WIZARD_BLOCK_ID').smartWizard();
})