Skip to content

eggachecat/react-jycm-viewer-example

Repository files navigation

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

Usage

yarn # install dependenices
yarn start

Included steps:

dependenices

  • yarn add react-jycm-viewer react-monacor-editor monaco-editor
  • yarn add -D monaco-editor-webpack-plugin

webpack config:

  • in webpack/common.js

you can find the config for monaco-editor-webpack-plugin

{
    plugins: [
        // ...
        new MonacoWebpackPlugin({
            languages: ["json"],
        })
    ]
}