Skip to content

vue cli plugin that setup vue project for chrome extension

License

Notifications You must be signed in to change notification settings

sanyu1225/vue-cli-plugin-chrome-ext

 
 

Repository files navigation

vue-cli-plugin-chrome-ext

English | 简体中文 | 繁體中文

npm version

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

support vue2 vue3 TypeScript and JavaScript!

Logo from FontAwesome

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 vue-cli-plugin-chrome-ext
# Answer some questions
# 🎉

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.

TODO

Development

Testing

Development

Currently, testing is done manually with the file ./auto.sh, by passing -r flag, it will delete the initial file generated.

Production

Test production code in npm as well with ./prod.sh.

prompts.js

Vue CLI prompt is based on inquirer.js api.

Resources

Credit

License

MIT

About

vue cli plugin that setup vue project for chrome extension

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 77.8%
  • HTML 9.6%
  • Vue 6.6%
  • Shell 6.0%