https://github.com/floating/parcel-extension-demo
https://github.com/floating/parcel-extension-demo
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/floating/parcel-extension-demo
- Owner: floating
- Created: 2018-08-09T18:27:49.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-09T18:38:28.000Z (almost 8 years ago)
- Last Synced: 2025-02-22T06:28:09.131Z (over 1 year ago)
- Language: JavaScript
- Size: 54.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# parcel-extension-demo
### Build Extension
`npm run build`
This will build the extention into `./ext`
### Add Extension to Chrome
In the Chrome extensions menu make sure "Developer Mode" is enabled. Then select "Load Unpacked" and navigate the `parcel-extension-demo/ext` directory.
Once the extension is added start the app.
### Start App
`npm start`
When the app opens look for "Parcel demo extension: I am injected!" in the console to make sure the extension is working. If it is then try to update the background color via HMR.
After that go back to the extensions menu and disable or remove the extension, then reload the page and try updating via HMR again.