From 8d2e227d4c8445fe75bc83c4911e8fe034e50c44 Mon Sep 17 00:00:00 2001 From: Joseph Price Date: Sat, 4 May 2019 18:50:56 -0400 Subject: [PATCH 1/2] use same cdn urls in examples --- README.md | 8 ++++---- example/index.html | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 8a4183b..e5303c9 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# GraphiQL Workspace +# GraphiQL Workspace [![npm version](https://badge.fury.io/js/graphiql-workspace.svg)](https://badge.fury.io/js/graphiql-workspace) @@ -27,7 +27,7 @@ const config = new AppConfig("graphiql", bootstrapOptions); ReactDOM.render(, document.getElementById('graphiql-workspace')); ``` -You still will need to add bootstrap CSS in you final application. For instance, you can use `bootstrap-loader` in webpack config. For an example application, that uses **graphiql-workspace**, check out [graphql-toolbox](http://toolbox.sangria-graphql.org/graphiql) +You still will need to add bootstrap CSS in you final application. For instance, you can use `bootstrap-loader` in webpack config. For an example application, that uses **graphiql-workspace**, check out [graphql-toolbox](http://toolbox.sangria-graphql.org/graphiql) Here is how it look like in your browser: @@ -37,7 +37,7 @@ Here is how it look like in your browser: After you cloned the project, do the `npm install` and then use `./scripts/build.sh` or `./scripts/quickBuild.sh` to build the project. -In order to see it in action, you can use an example html page `./example/index.html`. +In order to see it in action, you can use an example html page `./example/index.html`. ## Standalone Usage @@ -57,7 +57,7 @@ Here is an example HTML: - + diff --git a/example/index.html b/example/index.html index a4a1d7d..7a99003 100644 --- a/example/index.html +++ b/example/index.html @@ -13,8 +13,8 @@ - - + + @@ -29,4 +29,4 @@ document.getElementById('workspace')); - \ No newline at end of file + From 3c0bd03f0b9a8b59bcb60fbe43cdf8527aa08ad6 Mon Sep 17 00:00:00 2001 From: Joseph Price Date: Sat, 4 May 2019 18:55:10 -0400 Subject: [PATCH 2/2] fix css as well --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e5303c9..25d48bf 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ Here is an example HTML: GraphiQL Workspace Example - +