An extension to add leads to DEEP.
-
Create
src/vendor
directory and clonereact-store
in it.$ git clone https://github.com/toggle-corp/react-store src/vendor/react-store
-
Install node modules using
npm
oryarn
.$ 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 mode
is enabled. - Click on
Load unpacked
extension. - Navigate to and select the directory
<deep-browser-extension>/build/
. - Click
Open
and enjoy the extension.
- Open the browser extension.
- Click on the
Settings
icon. - Select
Localhost
onServer
field.
The
Localhost
option is only available when you are running the browser extension in development mode.
- Open
<deep>/.env
file. - 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