june01
june01
kbone-ui 主要技术栈是 web components,你可以看看这项技术目前的支持度能否满足你的兼容性需求。
检查一下 node 版本?看起来像是 node 版本过低不支持 async 导致 稍后我会在此工具中补充一个 node 版本检查。
1. check whether `tools/demo/package.json` exists ? 2. if it exists, remove dir `miniprogram_dev` and rerun `npm run dev` According to `tools/config.js`, `tools/demo` will be copied to `miniprogram_dev`.
收到反馈,后续会提供一个小程序 api 的 mock 工具,届时会考虑以 wx.nextTick 的方式提供。
给一下完整复现问题的 demo?
我这边试了下不管是自引用还是引用其他组件都可以渲染,方便给下你那边有问题的 demo 么? * [自引用 demo](https://github.com/wechat-miniprogram/miniprogram-simulate/tree/master/test/comp1) * [引用其他组件 demo](https://github.com/wechat-miniprogram/miniprogram-simulate/tree/master/test/comp2)
@fangxxiaoming 看看你的 rootPath 配置,有引用组件的要注意所有组件都在这个 rootPath 底下才能读到并进行编译:https://github.com/wechat-miniprogram/miniprogram-simulate/blob/master/docs/api.md#options
此工具实现时针对的是原生小程序自定义组件,没有特意兼容过外部的框架。如果使用外部框架的话得去咨询 uniapp 那边了。
你的报错信息,是用了 triggerPageLifesTime ? 正确接口名是:triggerPageLifeTime
我试了下本地用例是正常的,方便给一下可以复现问题的简单 demo 么?