Convert plain HTML with inline styles into valid ReScript React JSX component.
Use online: https://html-to-rescript-jsx.protoship.io/
Test cases for currently covered features: https://html-to-rescript-jsx.protoship.io/test.html
- Start ReScript compiler to compile
src/**/*.res
to.bs.js
.
npm run start
- Start Webpack dev server:
npm run dev
The tests are run on the browser.
npm run test
This will start the Webpack dev server, which will build browserTest.bs.js
and
opens src/test.html
in browser.