# any requirePlugin(string path)
Introduce a plug-in.Returns the interface that the plug-in exposes throughmain.Refer to Using Plug-in -js interface
# parameter
| name | type | Introductions |
|---|---|---|
| module | string | Alias of the plug-in that needs to be introduced.From the base library {% version ('2.14.0')%}, or the plug-in's AppID |
# sample code
var myPluginInterface = requirePlugin('myPlugin');
myPluginInterface.hello();
var myWorld = myPluginInterface.world;
var myPluginInterface = requirePlugin('wxIDxxxxxxxxxx'); // 2.14.0 起