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
"Applet Plugin Development Document"
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
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