biduul-hello-world-react
A biduul plugin example powered by TypeScript, Webpack and React
The plugin provides basic functionality to buy or sell given quantity of tokens (as well as the basic hello-world example).
It also demonstrates how to implement plugin settings. At this case it does nothing more than Buy and Sell button size change.
Install
To install the plugin select "Plugins" at Biduul UI, paste biduul-hello-world-react
to "Add custom plugin" field and click "Add plugin"
Develop
- Install NodeJS
- Clone the repository and go the plugin folder (
cd biduul-plugins/packages/hello-world-react
). - Run
npm ci
to install dependencies. - Run
npm start
to start Webpack Dev Server - Use "Add custom plugin" Biduul feature and paste
http://localhost:8081/bundle.js
to add the plugin.
The example supports Hot Module Replacement intended to make plugin development faster.