vue-cli-plugin-chrome-extension-cli

Use Vue CLI generate chrome extension template | generate chrome extension with vue.js
4,574 310
Install
npm install vue-cli-plugin-chrome-extension-cli
Latest Version:1.1.4
License:MIT
Last Updated:Mar 13, 2024
Links: GitHub  ·  npm
Maintainer: sanyu1225

vue-cli-plugin-chrome-extension-cli

English | 简体中文 | 繁體中文

Start a chrome extension project with Vue-CLI with ease!

Vue logo

Version License

support vue2 vue3 TypeScript and JavaScript!

Requirements

vue-cli 5.0.1 or higher

Installation

This plugin is meant for using new project for chrome extensions. Tested on default project of Vue, Vue with TypeScript

Usage?

vue create <project-name>
# Answer some questions
cd <project-name>
vue add chrome-extension-cli
# Answer some questions
# 🎉

File folder

.
├── 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 and Production

  • 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.

prompts.js

Vue CLI prompt is based on inquirer.js api.

Credit

License

MIT

Related Packages

vue-cli-plugin-chrome-ext

generate chrome extension with vue.js

7,252 93
vue-cli-plugin-chrome-extension

A vue-cli plugin for create chrome extension project

613 1
vue-cli-plugin-moment

moment.js plugin for vue-cli

28,960 15
vue-full-screen-file-drop

Vue component for full screen file drop

16,061 19
bxs-ui-vue

BSX Components

3,870

Version History

Version Released License
1.1.4 MIT
1.1.3 MIT
1.1.2 MIT
1.1.1 MIT
1.1.0 MIT