app.json文件代码如下:
"plugins": {
"mini-shop-plugin": {
"version": "latest",
"provider": "wx34345ae5855f892d",
}
}
app.js文件代码如下:
const miniShopPlugin = requirePlugin('mini-shop-plugin');
App({
onLaunch() {
miniShopPlugin.initApp(this, wx);
},
});
试一下plugins外面再加一个{}包裹?