Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

GraphQL.js Rails for Rails 5

License

NotificationsYou must be signed in to change notification settings

f/graphqljs-rails

Repository files navigation

AddsGraphQL.js to your asset pipeline.

Features

  • Nothing depended, plain vanilla JavaScript.
  • Plug & Play.
  • Runs on most of the browsers.
  • For more information and read how to use GraphQL.js in your Rails application, visit [f/graphql.js] (https://github.com/f/graphql.js)

If you arelooking for a server tryGraphQL-Ruby. This gem works withGraphQL-Ruby.

Installation

Add this line to your application's Gemfile:

gem'graphqljs-rails'

And then execute:

$ bundle install

And install it to yourapplication.js:

//= require graphqlvargraph=graphql("/graphql",{fragments:{    ...}})

License

The gem is available as open source under the terms of theMIT License.


[8]ページ先頭

©2009-2025 Movatter.jp