Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 1.16 KB

File metadata and controls

32 lines (18 loc) · 1.16 KB

Build Chrome Extension Using Vue.js

Tutorial Link: Build a Super Fast Google Chrome Extension Using Vue.js

Output

build-a-super-fast-google-chrome-extension-using-vue-js-output

Usage

npm run build

Build the extension into dist folder for production.

npm run build:dev

Build the extension into dist folder for development.

npm run watch

Watch for modifications then run npm run build.

npm run watch:dev

Watch for modifications then run npm run build:dev.

It also enable Hot Module Reloading, thanks to webpack-chrome-extension-reloader plugin.

⚠️ Keep in mind that HMR only works for your background entry.

npm run build-zip

Build a zip file following this format <name>-v<version>.zip, by reading name and version from manifest.json file. Zip file is located in dist-zip folder.