mdbook-preprocessor-graphql-playground-0.0.2 is not a library.
mdbook-preprocessor-graphql-playground
A preprocessor for mdbook to add GraphQL playgrounds.
Usage
- Add to
book.toml
:[] = "mdbook-graphql-playground" = ["html"] [] [] = ["graphql-playground-react-middleware.js", "graphql-playground.js"] = ["graphql-playground.css"]
- Copy assets into the book root directory:
cp assets/graphql-playground.css <book_dir> cp assets/graphql-playground.js <book_dir> cp assets/graphql-playground-react-middleware.js <book_dir> cp assets/images/* <book_dir>/images/
- You may have to adjust the CSS
- Create query files
- Create a config file