Home > News content

Wechat applet open plug-in features: can be added directly

via:博客园     time:2018/3/14 17:31:14     readed:367

Yesterday evening, the WeChat public platform announced that the applet opened the plug-in function.

According to officials, "plugins" are functional components that can be added directly to applets. Developers can develop a plug-in like a small program for use by other applets. At the same time, small program developers can use plug-ins directly within the applet to provide services to users without the need for repetitive development. Developer Tools adds new "code snippet" features that make it easy for developers to communicate development experience. ”

微信小程序开放插件功能:可添加直接使用

1, developers can develop applet plug-in

Developers can develop a plug-in similar to the development of a small program for use by other applets.

微信小程序开放插件功能:可添加直接使用

See the Applet Plugin Access Guide for details

Https://mp.weixin.qq.com/debug/wxadoc/introduction/plugin.html

"Applet Plugin Development Document"

Https://mp.weixin.qq.com/debug/wxadoc/dev/framework/plugin/index.html

2. Applets can use plug-ins

Applet developers can easily add plug-ins to their own applets without the need for repetitive development. When the user enters the applet, the services provided by the applet plug-in can be used directly.

微信小程序开放插件功能:可添加直接使用

See the "Applet Plugin Development Documentation" for details

Https://mp.weixin.qq.com/debug/wxadoc/dev/framework/plugin/index.html

3, Developer Tools new “ code fragment & rdquo; function

The code snippet is a small program item that can be shared. The developer can generate project link to let others import and run the applet code in the developer tool, so that developers can share the applet development experience, learning applet tutorial and feedback bug. Wait.

微信小程序开放插件功能:可添加直接使用

For detailed instructions, please see the code snippet documentation

Https://mp.weixin.qq.com/debug/wxadoc/dev/devtools/minicode.html

China IT News APP

Download China IT News APP

Please rate this news

The average score will be displayed after you score.

Post comment

Do not see clearly? Click for a new code.

User comments