Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

use vue plugin easy create chrome extension template

License

NotificationsYou must be signed in to change notification settings

sanyu1225/vue-cli-plugin-chrome-extension-cli

Repository files navigation

English |简体中文 |繁體中文

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

Vue logo

VersionLicense

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 questionscd <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 withnpm run build-watch and adist file will be generated. InstallExtension 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 productionnpm run build and zip it and deploy onto chrome store.

prompts.js

Vue CLI prompt is based oninquirer.js api.

Credit

License

MIT

Packages

No packages published

Contributors4

  •  
  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp