Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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就制作分享朋友圈图片

Awesome Lists containing this project

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 install

npm run dev

npm run build:dev
```