Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install on rails 7 ? #151

Open
abner01061998 opened this issue Sep 20, 2022 · 1 comment
Open

How to install on rails 7 ? #151

abner01061998 opened this issue Sep 20, 2022 · 1 comment

Comments

@abner01061998
Copy link

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
Copy link
Owner

doabit commented Sep 21, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants