Open ludejun opened 3 years ago
wxapp-webpack-plugin 使用最新的0.19.0 在页面中使用官方拓展组件:yarn add @miniprogram-component-plus/tabs .json: { "usingComponents": { "user": "../../components/user/user", "mp-tabs": "@miniprogram-component-plus/tabs" }, "navigationStyle": "custom", "backgroundColor": "#fff" }
{ "usingComponents": { "user": "../../components/user/user", "mp-tabs": "@miniprogram-component-plus/tabs" }, "navigationStyle": "custom", "backgroundColor": "#fff" }
打包会报错:TypeError: Cannot read property 'replace' of undefined 我看有几个类似问题,在wxapp-webpack-plugin库中也有
wxapp-webpack-plugin 使用最新的0.19.0 在页面中使用官方拓展组件:yarn add @miniprogram-component-plus/tabs .json:
{ "usingComponents": { "user": "../../components/user/user", "mp-tabs": "@miniprogram-component-plus/tabs" }, "navigationStyle": "custom", "backgroundColor": "#fff" }
打包会报错:TypeError: Cannot read property 'replace' of undefined 我看有几个类似问题,在wxapp-webpack-plugin库中也有