An example of using react-jycm-viewer
This is a demo project for using react-jycm-viewer created from the amazing template React Webpack Typescript Starter
yarn # install dependenices
yarn start
- yarn add react-jycm-viewer react-monacor-editor monaco-editor
- yarn add -D monaco-editor-webpack-plugin
- in
webpack/common.js
you can find the config for monaco-editor-webpack-plugin
{
plugins: [
// ...
new MonacoWebpackPlugin({
languages: ["json"],
})
]
}