Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

引用微信官方拓展组件webpack报错 #67

Open
ludejun opened this issue Mar 28, 2021 · 0 comments
Open

引用微信官方拓展组件webpack报错 #67

ludejun opened this issue Mar 28, 2021 · 0 comments

Comments

@ludejun
Copy link

ludejun commented Mar 28, 2021

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库中也有

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant