Use Vue CLI generate chrome extension template | generate chrome extension with vue.js
npm install vue-cli-plugin-chrome-extension-cliStart a chrome extension project with Vue-CLI with ease!
support vue2 vue3 TypeScript and JavaScript!
This plugin is meant for using new project for chrome extensions. Tested on default project of Vue, Vue with TypeScript

```
vue create Answer some questions
cd
vue add chrome-extension-cliAnswer some questions
🎉
``
.
├── public
│ ├── can set image.
├── src/
│ ├── assets
│ │ └── Static assets
│ ├── entry
│ │ ├── options.js
│ │ ├── popup.js
| | ├── devtools.js
│ │ ├── content.js
│ │ └── background.js
│ └── view
│ │ ├── popup.vue
│ │ ├── options.vue
| | └── devtools.vue
│ ├── manifest.development.json
│ └── manifest.production.json
└── vue.config.js
- Run development mode with npm run build-watch and a dist file will be generated. Install Extension Reloader to reload chrome extensions easily everytime you reload. (take note that when u change manifest.json file, it will not automatically load, you need to click update extension )
- Build for production npm run build` and zip it and deploy onto chrome store.
Vue CLI prompt is based on inquirer.js api.
- https://github.com/zwenza/vue-cli-plugin-build-watch
- https://github.com/RequireSun/vue-cli-plugin-chrome-extension
- https://github.com/superoo7/vue-cli-plugin-chrome-ext