Skip to content

Commit

Permalink
Merge pull request #112 from tiegz/update-sass-gem-in-readme
Browse files Browse the repository at this point in the history
Update recommended sass gem to use, in README.
  • Loading branch information
rmosolgo committed Feb 23, 2024
2 parents d66b263 + 6218290 commit e7a8d9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion readme.md
Expand Up @@ -44,12 +44,13 @@ If you're using Rails 6 in "API mode", you'll also need to do the following:
//= link graphiql/rails/application.js
```

Additionally, for Rails 6, you'll also need to add `sass-rails` gem to your Gemfile and add a `manifest.js` file for Sprockets 4 to work:
Additionally, for Rails 6, you'll also need to add `dartsass-sprockets` gem to your Gemfile and add a `manifest.js` file for Sprockets 4 to work:
```
--- add to `app/assets/config/manifest.js`
//= link graphiql/rails/application.css
//= link graphiql/rails/application.js
```
Note that the `sassc-rails` gem is unmaintained and [breaks with the newer GraphiQL](https://github.com/rmosolgo/graphiql-rails/issues/106).
See more details in [issue #13](https://github.com/rmosolgo/graphiql-rails/issues/13#issuecomment-640366886)

### Configuration
Expand Down

0 comments on commit e7a8d9e

Please sign in to comment.