News on the evening of March 13, just now, the "WeChat Public Platform" public account announced that the mini program will open the plug-in function. Plug-ins are functional components that can be added to mini programs for direct use. Developers can develop a plug-in like a mini program for use by other mini programs. At the same time, mini program developers can use plug-ins directly within the mini program to provide services to users without repeated development. The developer tools have added a "code snippet" function to facilitate developers to exchange development experiences.
Developers can develop mini program plug-ins
Developers can develop a plug-in just like developing mini programs and provide it to other mini programs.
For details, please refer to the "Mini Program Plug-in Access Guide" and "Mini Program Plug-in Development Document"
Mini programs can use plug-ins
Mini program developers can easily add plug-ins Add it to your own mini program without repeated development. When users enter the mini program, they can directly use the services provided by the plug-in within the mini program.
For details, please refer to the "Mini Program Plug-in Development Document"
The developer tools have a new "code snippet" function
The code snippet is a A shareable mini program project. Developers can generate project links to allow others to import and run mini program code in developer tools, making it easier for developers to share mini program development experience, learn mini program tutorials, report bugs, etc.
For detailed usage instructions, please see the "Code Fragment Documentation"