dcloud_uniplugins.json说明:
- nativePlugins: 插件跟节点 可存放多个插件
- hooksClass: 生命周期代理(实现AppHookProxy接口类)格式(完整包名加类名)
- name : 注册名称,
- class : module 或 component 实体类完整名称
- type : module 或 component类型。
{
"nativePlugins": [
{
"hooksClass": "uni.dcloud.io.uniplugin_richalert.apphooks",
"plugins": [
{
"type": "module",
"name": "DCloud-RichAlert",
"class": "uni.dcloud.io.uniplugin_richalert.RichAlertWXModule"
}
]
}
]
}
选择 发行--->原生APP-本地打包--->生成本地打包App资源 等待资源生成!