-
Notifications
You must be signed in to change notification settings - Fork 311
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
Install documentation for Rails 6 #189
Comments
Requiring the CSS isn't a problem, just add the following line to your application.css file: However, I couldn't find a way to import the JS files. I tried to add
|
Yes, same issue here.
|
I guess this gem is not maintained? |
@nicolrx did you find a workaround? |
I did my own setup with font-awesome icons ;) |
This is for the .scss file |
Here's the solution for rails 6
|
Thanks. Following this I ended with the error Any idea what could be wrong? |
edit
|
I'm having an issue getting the css working. JS works fine after following the steps above. https://github.com/ruby-china/homeland/blob/master/app/assets/stylesheets/application.scss#L4 doesn't exist anymore. I've tried with the usual *= require social-share-button but i'm using Rails 6. Thanks |
I found this which might help someone https://github.com/Bunlong/rails-social-share-button/blob/master/app/assets/stylesheets/rails-social-share-button.css.erb |
First, thanks for the above solution, it really helped :)
|
Could not find gem 'coffee-loader (>= 1.0.1)' in any of the gem sources |
Just change the version in your Gemfile and rebundle 🤔 |
@martintsan help me |
This is for the wrong gem |
How is this issue closed with no solution? |
Any documentation on the setup of this gem on a rails 6 application? Mainly requiring the CSS/JS files.
The text was updated successfully, but these errors were encountered: