Fork of React Component for editing JSON data using form inputs. Wraped in Bootstrap elements.
- Clone the repo.
- Run
npm install
to install packages required for development. - The source files are in
src/
directory. These are the files you need to change. - Run
npm run dev
. This will start a script which will automatically compile js files upon changes.
To view your changes, use the dev/index.html
file. This is used for rendering
the library while developing it.
- Open a new terminal
- Go into
dev/
directory:cd dev
. - Run
python3 -m http.server
This will start a server atlocalhost:8000
which will serve thedev/index.html
file. - Open
localhost:8000
in your browser and you're set for testing.
Currently, there's no hot-reloading set up, so when you make changes you'll have to reload the page manually to view changes.
For building production packages, run: npm run build
.