react-lite-coder

Code Editor and Code Viewer of Jianliao.com

Usage no npm install needed!

<script type="module">
  import reactLiteCoder from 'https://cdn.skypack.dev/react-lite-coder';
</script>

README

React Lite Coder

Code Editor and Code Viewer of jianliao.com

Demo http://ui.talk.ai/react-lite-coder/

Usage

Develop

npm i

You need a static file server for the HTML files. Personally I suggest using Nginx.

Develop:

gulp html # regenerate index.html
webpack-dev-server --hot # enable live-reloading

Build (Pack and optimize js, reivision js and add entry in index.html):

gulp build

License

MIT