weapp-native
weapp-native copied to clipboard
weapp-native (wn) 像React组件开发一样来开发微信小程序,开发微信小程序框架 [此项目短时间内已不再维护,有兴趣继续的可以加群联系我]
Your FOSSA integration was successful! Attached in this PR is a badge and license report to track scan status in your README. Below are docs for integrating FOSSA license checks...
不太确定是哪里的问题,在android手机上明显感觉跟小程序原生的代码,性能上差了很多。

https://github.com/skyFi/weapp-native/blob/b70df82c4be6ae49c6215af61b7fcc5f87a5348a/src/bin/transform.js#L477 在windows下,app.json里的pages路径类似:'pages\\index\\index',会导致报错。应该为'pages/index/index' 现在在上面代码位置上一行添加下面一行来解决。 ``` ImportPages.forEach(function(pathStr, i){y.splice(i,1,pathStr.replace(/\\/g, '/'));}); ``` 类似的,还有引入modules目录下文件、components下文件。 变量ImportPages 、ImportComponents、ImportSources 等,ComponentRelations 暂时不清楚是否需要修改。 非常感谢做了这个工具,非常有用。