Skip to content

Commit

Permalink
Added GraphqlVoyagerPage
Browse files Browse the repository at this point in the history
  • Loading branch information
Fi1osof committed Jul 26, 2019
1 parent 4577955 commit e626791
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"@prisma-cms/filters": "latest",
"@prisma-cms/front": "latest",
"@prisma-cms/front-editor": "latest",
"@prisma-cms/graphql-voyager": "latest",
"@prisma-cms/log-module": "latest",
"@prisma-cms/mail-module": "latest",
"@prisma-cms/marketplace-module": "latest",
Expand Down
6 changes: 6 additions & 0 deletions src/components/Renderer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import "../../styles/less/styles.css";
import React, { Fragment } from "react";

import { Renderer as PrismaCmsRenderer } from "@prisma-cms/front";
import GraphqlVoyagerPage from "@prisma-cms/front/lib/components/pages/GraphqlVoyager";

import {
ContextProvider as SocietyContextProvider,
Expand Down Expand Up @@ -107,6 +108,11 @@ export default class BoilerplateRenderer extends PrismaCmsRenderer {
/>
},
},
{
exact: true,
path: "/graphql-voyager",
component: GraphqlVoyagerPage,
},
{
exact: false,
path: "/",
Expand Down

0 comments on commit e626791

Please sign in to comment.