Clone or download this repo.
Navigate to an example's root folder, then run
npm install
To build the project, run
npm run build
To run project in development mode, run
npm start
And webpack bundle will be created.
In the root project directory, you will find a build
folder. To install the extension in chrome, go to chrome://extensions on your browser, make sure developer mode is enabled, and click on "Load unpacked extension...". Select the build
directory and you're on you're way!
- Clone and Enter into the directory
- Execute
npm start
command on terminal. A new folder named [build] is created in current Directory - Open Chrome(Browser). Go to Options (on right hand side beside address bar) -> More Tools -> Extensions or enter chrome://extensions on the address bar
- Enable Developer mode
- Click on "Load unpacked extension"
- Choose
build
folder previously created by grunt and choose open. - Your extension is now installed
- Browse new tab to view the newly install extension in development mode