We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
关于h5打包成app,我用的是 http://www.dcloud.io 中的hbuilder工具,它可以将H5代码直接打包成Android和iOS的app。
至于调用原生api,用其中的5+Runtime,官方例子有源码,可下载。
而h5的框架选型,个人可以确定,用什么框架都可以,用vue、react、angular等等都可以,看个人爱好:只要在app环境中需要调用原生能力时再调用5+Runtime api,其他环境则不执行。因此,非app环境,就是正常的webapp,不执行5+Runtime api。app环境中,就是webapp加上5+Runtime api。当然,如果app中无调用原生能力,完全只把webapp的代码直接打包到app中就可以了。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
关于h5打包成app,我用的是 http://www.dcloud.io 中的hbuilder工具,它可以将H5代码直接打包成Android和iOS的app。
至于调用原生api,用其中的5+Runtime,官方例子有源码,可下载。
而h5的框架选型,个人可以确定,用什么框架都可以,用vue、react、angular等等都可以,看个人爱好:只要在app环境中需要调用原生能力时再调用5+Runtime api,其他环境则不执行。因此,非app环境,就是正常的webapp,不执行5+Runtime api。app环境中,就是webapp加上5+Runtime api。当然,如果app中无调用原生能力,完全只把webapp的代码直接打包到app中就可以了。
The text was updated successfully, but these errors were encountered: