Skip to content

Commit

Permalink
Update recommended sass gem to use, in README.
Browse files Browse the repository at this point in the history
  • Loading branch information
tiegz committed Aug 29, 2023
1 parent 6b34eb1 commit 6218290
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
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 6218290

Please sign in to comment.