doabit / semantic-ui-sass

Semantic UI, converted to Sass and ready to drop into Rails & Compass.
MIT License
1.15k stars 190 forks source link

How to install on rails 7 ? #151

Open abner01061998 opened 1 year ago

abner01061998 commented 1 year ago

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

doabit commented 1 year ago

You can try https://github.com/fomantic/Fomantic-UI now.