lore-hook-router

Loads the react-router routes and history type

Installation

First install the hook:

npm install lore-hook-router --save

Then add the hook to your index.js file.

// index.js
import connect from 'lore-hook-connect';
import router from 'lore-hook-router';

lore.summon({
  hooks: {
    connect,
    router
  }
});