English
uni-app
actively embraces the community, creating an open, compatible plugin system.
uni-app插件市场,https://ext.dcloud.net.cn,是uni-app官方插件生态集中地。有数千款插件,支持前端组件、js sdk、页面模板、项目模板、原生插件等多种类型。在生态建设上远远领先于竞品。请注意尽量在官方市场寻找插件,npm等三方市场没有uni-app兼容性描述,很容易下载到无法跨平台的、仅适配web的插件。
Compatible with WeChat Mini Program JS SDK
小程序生态内容可直接引入uni-app
,并且在App侧通用。以前的跨平台开发框架普遍缺少三方SDK,由于大量SDK厂商均原厂维护小程序SDK,使得uni-app
成为跨平台开发框架里生态最丰富的平台参考
The applet custom component is a ui component. The uni-app can be compatible with the WeChat applet custom component in App, H5, WeChat applet, and QQ applet at the same time. [Reference](https://uniapp.dcloud.io /frame?id=%E5%B0%8F%E7%A8%8B%E5%BA%8F%E7%BB%84%E4%BB%B6%E6%94%AF%E6%8C%81)
uni-app支持npm包,但注意npm下载的插件很可能不是全端的,大多npm插件仅适配了web。需要全端插件还是要去uni-app插件市场https://ext.dcloud.net.cn去找。
uni-app has built-in weex
, and weex
native plugins or ui libraries can be used. Note that the ecology of weex
is not as rich as that of uni-app
. In general, it is recommended to use the plugin market of uni-app
.
The H5 side of uni-app
supports all browser APIs. But as we all know, because the js of the applet does not run in the browser, the HTML and DOM APIs are not supported in the applet.
uni-app
的App端虽然和小程序是相同的架构,逻辑层也运行在独立jscore
而不是浏览器里,但App端和小程序还是有区别的:
echart
、threejs
等web库均可使用。
(But for full-end use, it is still recommended to reduce the dependence on the dom library. In the plugin market of uni-app
, you can find a full-end compatible library instead)uni-app
is in independent jscore, and the rendering layer is optional for webview rendering and weex engine rendering.