This is my project to create Chrome extension using VueJS.
If you want to know how to build it see my blog (Vietnamese, sorry if it's not your native languague)
To test the extension first you need to run this command to build project:
# install dependencies
npm install
# build project
npm run build
Then you should open List Chrome Extension in your browser, then you drag and drop folder dist
into the browser.
Now your extension is available on your browser, play around with it :)
- If you want to change code go to folder
src
Beside running as a extension the project is absolutely run like usual web app
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
For a detailed explanation on how things work, check out the guide and docs for vue-loader.