monaco-yaml/examples/react-webpack-worker-loader
Remco Haszing c4a95e2dd5
Replace monaco namespace with monaco-editor imports
This is a preparation for `monaco-editor@^0.22.0`. In this version the global
`monaco` object was removed for ESM users.

A choice was made to use `monaco-editor` imports, because this probably has
best compatibility for most users. If users want to use `monaco-editor-core`,
they will have to create an alias in their own build process.
2021-04-13 21:18:18 +02:00
..
.babelrc Add React demos 2020-02-22 14:47:19 -08:00
.gitignore Add React demos 2020-02-22 14:47:19 -08:00
index.html Add React demos 2020-02-22 14:47:19 -08:00
index.jsx WIP: Dependency upgrades (#27) 2020-08-20 15:12:43 +05:30
package.json Replace monaco namespace with monaco-editor imports 2021-04-13 21:18:18 +02:00
README.md Apply prettier on all committed files 2021-03-25 17:59:58 +01:00
webpack.config.js WIP: Dependency upgrades (#27) 2020-08-20 15:12:43 +05:30
yarn.lock Replace monaco namespace with monaco-editor imports 2021-04-13 21:18:18 +02:00

Demo: React + Weback + Worker Loader + Babel

To run:

yarn && yarn start

The demo will open in your browser. See (index.jsx)[index.jsx#L34-L36] for the schema loaded.