https://github.com/meepobrother/meepo-uploader
图片上传,微信浏览器自动采用jssdk,非微信浏览器采用plupload上传,支持大文件分片
https://github.com/meepobrother/meepo-uploader
angular uploader
Last synced: 2 months ago
JSON representation
图片上传,微信浏览器自动采用jssdk,非微信浏览器采用plupload上传,支持大文件分片
- Host: GitHub
- URL: https://github.com/meepobrother/meepo-uploader
- Owner: meepobrother
- License: mit
- Created: 2017-12-24T03:39:44.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-06T10:51:10.000Z (over 8 years ago)
- Last Synced: 2025-02-25T02:07:16.528Z (over 1 year ago)
- Topics: angular, uploader
- Language: JavaScript
- Homepage: https://meepo.com.cn
- Size: 1.3 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## imeepos angular template
```sh
git remote add origin https://github.com/meepobrother/imeepos-ng-template.git
git push -u origin master
```
### 用法
```sh
git clone https://github.com/meepobrother/imeepos-ng-template.git my-app
cd my-app
yarn
// 或者
npm install
```
### 发布包到npm
```ts
// 删除mac自带后缀文件
find ./ -name ".DS_Store" | xargs rm -rf
// 1: 更改package.json中的name为要发布的名字
npm run build && npm publish
```
### 使用发布的包
```ts
npm install --save 包名
```
```ts
import { 模块 } from {包名}
```
```ts
"rollup": "^0.43.0",
"rollup-plugin-commonjs": "^8.0.2",
"rollup-plugin-includepaths": "0.2.2",
"rollup-plugin-node-resolve": "^3.0.0"
```
- demo演示
```
yarn demo
```
- 后台相关
```ts
// 启动后台服务
yarn server
// 重启后台服务
yarn reload
// 清除进程
yarn delete
```