doabit/semantic-ui-sass

How to install on rails 7 ?

abner01061998 opened this issue · 1 comments

My enviroment is composed by

rails 7
importmaps
simulus
turbo-links

I tried to install semantic ui on rails 7 in this way

  1. Installing the gem
  2. Installing Jquery-rails gem
  3. Inside importmap file I added

pin "jquery", to: 'jquery.js', preload: true
pin "semantic-ui", to: 'semantic-ui.js', preload: true

  1. In application.js I added
    import "jquery"; import "semantic-ui";

  2. Then I run my server

  3. I realize that css is working well but actions as dropdowns or accordions are not working