Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xiongwilee/chrome-extensions-boilerplate
A Chrome extensions boilerplate with Gulp,less,etc.
https://github.com/xiongwilee/chrome-extensions-boilerplate
Last synced: 3 months ago
JSON representation
A Chrome extensions boilerplate with Gulp,less,etc.
- Host: GitHub
- URL: https://github.com/xiongwilee/chrome-extensions-boilerplate
- Owner: xiongwilee
- License: mit
- Created: 2016-01-26T17:40:44.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-03-20T12:25:44.000Z (almost 7 years ago)
- Last Synced: 2024-10-05T01:47:32.321Z (3 months ago)
- Language: CSS
- Size: 354 KB
- Stars: 9
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# A Chrome extends boilerplate
## 如何安装?
### 一、下载文件目录到任意位置:
# 通过git命令下载
$ git clone https://github.com/xiongwilee/chrome-extensions-boilerplate.git
# [todo]或者通过npm安装
$ npm install chrome-extensions-boilerplate### 二、编译生成目标文件:
# 到刚刚下载的目录
$ cd chrome-extensions-boilerplate
# npm install可能需要root权限,build生成的dist目录就是插件目录
$ npm install && npm run build### 三、本地开发
进入`chrome://extensions/`,勾选`开发者模式`,点击`加载已解压的扩展程序...`,选择刚刚编译的`chrome-extensions-boilerplate/dist`目录即可。
开发中可使用实时编译:
npm run dev
## TODO
* livereload
* 生成sougou/360 浏览器插件boilerplate
* 详细的`manifest.json`说明文档
* 开发APP、主题boilerplate
* 开发插件资源连接
* 通过gulp生成crx文件