Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[website] switch between esm and cjs examples #4684

Open
Tracked by #5201 ...
n1ru4l opened this issue Aug 31, 2022 · 1 comment
Open
Tracked by #5201 ...

[website] switch between esm and cjs examples #4684

n1ru4l opened this issue Aug 31, 2022 · 1 comment

Comments

@n1ru4l
Copy link
Collaborator

n1ru4l commented Aug 31, 2022

Many examples are CJS only, it would be neat if we had a switch component where you can show examples either in cjs or esm. https://www.graphql-tools.com/docs/documents-loading

@dimaMachina
Copy link
Collaborator

dimaMachina commented Aug 31, 2022

You can use Tabs and Tab components for it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants