https://github.com/acao/monaco-next-example
working example of monaco editor + next.js with custom language worker (graphql)
https://github.com/acao/monaco-next-example
Last synced: 3 months ago
JSON representation
working example of monaco editor + next.js with custom language worker (graphql)
- Host: GitHub
- URL: https://github.com/acao/monaco-next-example
- Owner: acao
- Created: 2023-02-16T20:54:58.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-24T22:02:12.000Z (over 2 years ago)
- Last Synced: 2025-01-16T21:36:08.232Z (5 months ago)
- Language: TypeScript
- Homepage: https://cosmic-souffle-8afd47.netlify.app/
- Size: 161 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a working example of `monaco-editor` and `monaco-graphql` using `next.js` 13
It shows how to use the latest monaco-editor with next.js and a custom webworker, without using `@monaco/react` or `monaco-editor-react`'s approach of cdn (AMD) bundles. These approaches avoid using ESM `monaco-editor` or webworkers, which cause some issues.
This work was sponsored by [Grafbase](https://grafbase.com/)