没有合适的资源?快使用搜索试试~ 我知道了~
taro3-vant-sample:Taro3 中使用 vant-weapp 的示例
共434个文件
ts:95个
js:94个
wxss:76个
需积分: 34 2 下载量 56 浏览量
2021-05-26
15:45:39
上传
评论
收藏 329KB ZIP 举报
温馨提示
taro3-vant-sample Taro3 中使用 vant-weapp 的示例 React 版本 需要关注的点 引用 vant 组件 引用 vant 组件需要在页面的 config 文件中进行配置,如 export default { navigationBarTitleText: '首页', usingComponents: { 'van-button': '../../components/vant-weapp/dist/button/index' } } 值得注意的是,无论是在页面还是组件中引用 vant 组件,都是在页面的 config 中进行配置引用。 配置 copy 小程序原生文件 vant 组件中包含一些小程序原生文件的依赖,目前 Taro 没有对这些依赖进行分析,需要配置 copy 移动到 dist 目录中,例如需要 copy wxs 和样式文件,
资源推荐
资源详情
资源评论
收起资源包目录
taro3-vant-sample:Taro3 中使用 vant-weapp 的示例 (434个子文件)
.editorconfig 197B
.eslintrc 32B
.gitignore 64B
index.html 1011B
index.js 9KB
index.js 7KB
index.js 7KB
index.js 7KB
index.js 6KB
index.js 5KB
index.js 5KB
index.js 5KB
index.js 4KB
index.js 4KB
transition.js 3KB
index.js 3KB
index.js 3KB
index.js 3KB
index.js 3KB
index.js 3KB
index.js 3KB
component.js 3KB
index.js 3KB
index.js 3KB
index.js 2KB
index.js 2KB
index.js 2KB
index.js 2KB
index.js 2KB
utils.js 2KB
index.js 2KB
utils.js 2KB
index.js 2KB
index.js 2KB
toast.js 2KB
dialog.js 2KB
index.js 2KB
index.js 2KB
index.js 2KB
index.js 2KB
index.js 1KB
utils.js 1KB
index.js 1KB
index.js 1KB
index.js 1KB
index.js 1KB
notify.js 1KB
index.js 1KB
index.js 1KB
index.js 1KB
index.js 1KB
props.js 1KB
index.js 1KB
index.js 1003B
index.js 985B
page-scroll.js 959B
index.js 959B
index.js 939B
touch.js 918B
canvas.js 909B
index.js 867B
index.js 843B
utils.js 797B
version.js 761B
index.js 746B
index.js 741B
index.js 700B
index.js 695B
basic.js 689B
index.js 666B
index.js 649B
index.js 586B
open-type.js 580B
index.js 531B
index.js 529B
index.js 523B
shared.js 501B
index.js 495B
index.js 493B
index.js 490B
index.js 475B
prod.js 423B
index.js 363B
index.js 361B
button.js 343B
shared.js 339B
index.js 332B
index.js 306B
link.js 302B
index.js 291B
babel.config.js 231B
color.js 222B
index.js 219B
index.js 169B
index.js 148B
dev.js 112B
index.js 0B
weapp.js 0B
package.json 2KB
project.config.json 892B
共 434 条
- 1
- 2
- 3
- 4
- 5
资源评论
log边缘
- 粉丝: 17
- 资源: 4605
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功