Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 766 Bytes

README.md

File metadata and controls

36 lines (26 loc) · 766 Bytes

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"],
        })
    ]
}