semantic-ui-sass icon indicating copy to clipboard operation
semantic-ui-sass copied to clipboard

How to install on rails 7 ?

Open abner01061998 opened this issue 2 years ago • 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

abner01061998 avatar Sep 20 '22 17:09 abner01061998

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

doabit avatar Sep 21 '22 07:09 doabit