From 6218290e0c75f1a74eb1d71ce402ef2f3483e93d Mon Sep 17 00:00:00 2001 From: Tieg Zaharia Date: Tue, 29 Aug 2023 13:05:24 -0700 Subject: [PATCH] Update recommended sass gem to use, in README. --- readme.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 961edba..453e7d4 100644 --- a/readme.md +++ b/readme.md @@ -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