BlueRain OS
  • Introduction
  • API
    • API Reference
  • Guides
    • Apps
      • Installation
      • Creating an App
      • Configuration
    • Components
      • Registering Components
      • Extending Components
      • Replacing Components
      • Accessing Raw Components
      • Components & HoCs
    • Filters
      • Known Filters
    • Plugins
      • Installation
      • Configuration
      • Creating a Plugin
  • Miscellaneous
    • JSON to React
  • Plugins
    • Apollo
    • Internationalization
    • Material UI
    • React Router
    • Redux
    • Redux Devtools
    • Why Did You Update
Powered by GitBook
On this page
  1. Guides
  2. Plugins

Installation

First install the plugin as a npm package to your project:

npm i --save bluerain-plugin-apollo

Then import your plugins in your plugins.js file

const apollo = require('bluerain-plugin-apollo');

module.exports = [apollo];

At last, boot your client with the plugin:

import boot from '@blueeast/bluerain-os';

const plugins = require('./plugins');

BR.boot({ plugins });
PreviousPluginsNextConfiguration

Last updated 6 years ago