- Clone / download this repository.
- Install dependencies
npm install
- Install standalone Vue devtools.
npm install --save-dev "@vue/devtools"
- Run Vue devtools
./node_modules/.bin/vue-devtools
- Serve extension
npm run watch:dev
- If not already installed, install extension in browser (see README.md, substituting the zip file contents with the "dist" folder contents).
- Increase version number in
package.json
andsrc/manifest.json
. - Compile the extension:
npm run build
- Zip it up:
npm run build-zip
- Update README.md download link.
- Commit to Github.
- Install vue-kocal template.
https://github.com/Kocal/vue-web-extension
- Allow external vue-tools.
- Install
@vue/devtools
- Modify webpack:
content_security_policy: "script-src 'self' 'unsafe-eval' http://localhost:8098; object-src 'self'"
Vuex store has separate instances for:
- background.js
- options.js
- popup.js