Initialize repo:
yarn
Start development version:
yarn dev
Set up a workspace like here: bos-workspace
Set the flag at localhost:3000/flags
- Configure custom elements in the VM
- Add a route to the gateway
- Access query params and render widget
react-webcam components/custom/Camera https://everything.dev/efiz.near/widget/Camera
monaco-editor/react components/custom/MonacoEditor https://everything.dev/efiz.near/widget/MonacoEditor
TODO: Can switch to https://github.com/react-monaco-editor/react-monaco-editor
keypom components/custom/KeypomScanner https://everything.dev/scanner
- Install library
- Create component in /components/common
- Add component as custom element in App.js