Include Form Renderer in your React application
Once Form Renderer is installed there is a couple of things you need to.
Add script and stylesheet
- Copy 'form-renderer.js' and all styles files from '/node_modules' and paste them in '/public' directory.
- Add a path to the
form-renderer.js
script and 'styles.css' stylesheet in 'index.html' starting with %PUBLIC_URL%. Put the paths in head.
<head>
<link rel="stylesheet" href="%PUBLIC_URL%/styles.css">
<script src="%PUBLIC_URL%/form-renderer.js"></script>
</head>