An extension to add leads to DEEP.
-
Create
src/vendordirectory and clonereact-storein it.$ git clone https://github.com/toggle-corp/react-store src/vendor/react-store -
Install node modules using
npmoryarn.$ yarn install
Use the start command of npm or yarn to start the development server.
$ yarn start
The <deep-browser-extension>/build/ folder now contains the extension.
- Go to the extensions page.
chrome://extensions/ - Make sure
Developer modeis enabled. - Click on
Load unpackedextension. - Navigate to and select the directory
<deep-browser-extension>/build/. - Click
Openand enjoy the extension.
- Open the browser extension.
- Click on the
Settingsicon. - Select
LocalhostonServerfield.
The
Localhostoption is only available when you are running the browser extension in development mode.
- Open
<deep>/.envfile. - Add new entry
REACT_APP_BROWSER_EXTENSION_ID=<extension-id-on-chrome>
You can go to
chrome://extensions/to view your extension id.
You can use npm or yarn to build the extension.
$ yarn build