wxapp-boilerplate
wxapp-boilerplate copied to clipboard
引用微信官方拓展组件webpack报错
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库中也有