Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simmzl/wepy_canvas_drawer
[wepy版本]微信小程序上canvas绘制图片助手,一个json就制作分享朋友圈图片
https://github.com/simmzl/wepy_canvas_drawer
Last synced: 2 months ago
JSON representation
[wepy版本]微信小程序上canvas绘制图片助手,一个json就制作分享朋友圈图片
- Host: GitHub
- URL: https://github.com/simmzl/wepy_canvas_drawer
- Owner: simmzl
- Created: 2018-03-23T09:19:05.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-04-27T10:28:27.000Z (over 3 years ago)
- Last Synced: 2024-08-03T21:03:41.531Z (6 months ago)
- Language: JavaScript
- Homepage:
- Size: 227 KB
- Stars: 77
- Watchers: 1
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-wepy - wepy_canvas_drawer: 微信小程序上canvas绘制图片助手,一个json就制作分享朋友圈图片
README
# wepy_canvas_drawer
> 基于[kuckboy1994](https://github.com/kuckboy1994)的[mp_canvas_drawer](https://github.com/kuckboy1994/mp_canvas_drawer)开发的wepy版本
> mpvue版本:[mpvue_canvas_drawer](https://github.com/kuckboy1994/mpvue_canvas_drawer)
## 使用
把 `src/components/canvasdrawer` 组件移动到 `wepy` 项目的 `components` 目录下
在调用页面内引入
```javascript
// 路径根据结构自定义
import canvasdrawer from "@/components/canvasdrawer/canvasdrawer";
```注册组件:
```javascript
export default class Index extends wepy.page {
components = {
canvasdrawer
};
}
```使用组件
```html```
API及说明可参考:
[掘金:一个json帮你完成分享朋友圈图片](https://juejin.im/post/5b481d216fb9a04fdb16a88f)## Build Setup
``` bash
npm installnpm run dev
npm run build:dev
```