File tree Expand file tree Collapse file tree 3 files changed +20
-13
lines changed
graphiql-plugin-code-exporter Expand file tree Collapse file tree 3 files changed +20
-13
lines changed Original file line number Diff line number Diff line change 21
21
height : 100vh ;
22
22
}
23
23
</ style >
24
-
25
24
<!--
26
25
This GraphiQL example depends on Promise and fetch, which are available in
27
26
modern browsers, but can be "polyfilled" for older browsers.
37
36
crossorigin
38
37
src ="https://unpkg.com/react-dom@18/umd/react-dom.development.js "
39
38
> </ script >
39
+ <!--
40
+ These two files can be found in the npm module, however you may wish to
41
+ copy them directly into your environment, or perhaps include them in your
42
+ favored resource bundler.
43
+ -->
40
44
< script
41
45
src ="https://unpkg.com/graphiql/graphiql.min.js "
42
46
type ="application/javascript "
43
47
> </ script >
48
+ < link rel ="stylesheet " href ="https://unpkg.com/graphiql/graphiql.min.css " />
49
+ <!--
50
+ These are imports for the GraphIQL Explorer plugin.
51
+ -->
44
52
< script
45
53
src ="https://unpkg.com/@graphiql/plugin-explorer/dist/index.umd.js "
46
54
crossorigin
47
55
> </ script >
48
- <!--
49
- These two files can be found in the npm module, however you may wish to
50
- copy them directly into your environment, or perhaps include them in your
51
- favored resource bundler.
52
- -->
53
- < link rel ="stylesheet " href ="https://unpkg.com/graphiql/graphiql.min.css " />
56
+
57
+ < link
58
+ rel ="stylesheet "
59
+ href ="https://unpkg.com/@graphiql/plugin-explorer/dist/style.css "
60
+ />
54
61
</ head >
55
62
56
63
< body >
Original file line number Diff line number Diff line change @@ -100,6 +100,6 @@ function GraphiQLWithExplorer() {
100
100
101
101
## CDN bundles
102
102
103
- You can also use this plugin when using the
104
- [ CDN bundle ] ( ../../examples/graphiql-cdn ) to render GraphiQL. Check out the
105
- [ example HTML file] ( examples/index.html ) that shows how you can do this.
103
+ You can also use this plugin with ` unpkg ` , ` jsdelivr ` , and other CDNs.
104
+
105
+ See the [ example HTML file] ( examples/index.html ) for this plugin
Original file line number Diff line number Diff line change @@ -49,6 +49,6 @@ return (
49
49
50
50
## CDN bundles
51
51
52
- You can also use add this plugin when using the
53
- [ CDN bundle ] ( ../../examples/graphiql-cdn ) to render GraphiQL. Check out the
54
- [ example HTML file] ( examples/index.html ) that shows how you can do this.
52
+ You can also use this plugin with ` unpkg ` , ` jsdelivr ` , and other CDNs.
53
+
54
+ See the [ example HTML file] ( examples/index.html ) for this plugin
You can’t perform that action at this time.
0 commit comments