Kocal/vue-web-extension
关于
🛠️ Vue CLI 3+ 预设(此前是 Vue CLI 2 脚手架),用于快速开始使用 Vue、Babel、ESLint 等构建 Web 扩展!
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +1
- 1个月
- -1
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文vue-web-extension
:warning: This README is for the master version of the preset. If you use the v1 of this boilerplate with Vue-CLI 2 support, please see v1 branch.
This Vue CLI preset allows you to quickly start a web extension containing:
- Everything you need to build a web extension (
manifest.json,.zipbuilding, ...), thanks to adambullmer/vue-cli-plugin-browser-extension - Vue 2+
- Vue-router and Vuex
- Axios (configurable)
- Babel with preset-env
- ESLint and Prettier (both configurable)
Requirements
- Node.js >= 10 and npm >= 5
- git
- vue-cli 3+
Documentation
The documentation can be found on vue-web-extension.netlify.app. Please check the documentation website and the open and closed issues, before raising a new issue.
Usage
$ vue create --preset kocal/vue-web-extension my-extension
$ cd my-extension
$ npm run build
npm run build
Build the extension into dist folder for production.
A zip file is also built and is located in artifacts directory.
npm run serve
Build the extension for development and watch over file changes.
It also automatically reload your extension into your browsers, thanks to webpack-extension-reloader plugin.
Options
See https://github.com/adambullmer/vue-cli-plugin-browser-extension#plugin-options
探索相关项目
加载中…