All JS files are packed using Gulp + Browserify + Babelify. To setup Vue which works without webpack, vue template compiler is used. vue/dist/vue.esm.js
is imported instead of directly importing vue
.
npm install
npm run dev
All the build files can be found in /dist
folder.
npm run build
-
Chrome
- Go to
chrome://extensions/
page - Enable development mode on upper right coner
- Load unpack and select
/dist
folder
- Go to
-
Firefox
- Go to
about:debugging#/runtime/this-firefox
page - Choose
Load Temporary Add-on
- Select
manifest.json
inside/dist
folder
- Go to
- Chrome: Zip all content inside
/dist
folder after build, upload the zip file to webstore - Firefox: TBC
npm run pack
has been set to simplify the process.