提交 88c799ff 编写于 作者: 郭胜强

增加README

上级 0d05a039
# 小程序自定义组件使用示例
## 注意事项
* 小程序自定义组件需放在wxcomponents目录
* 使用的组件需添加到pages.json文件内
* 原组件内事件名称需修改为驼峰命名,如:
```js
// wxcomponents/vant-weapp/dist/nav-bar/index.js
this.$emit('click-left');
// 改为
this.$emit('clickLeft');
```
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册