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

run build之后,项目里每个wxss都会有一段重复的样式 #26

Closed
theAir opened this issue Jul 23, 2020 · 3 comments
Closed

run build之后,项目里每个wxss都会有一段重复的样式 #26

theAir opened this issue Jul 23, 2020 · 3 comments

Comments

@theAir
Copy link

theAir commented Jul 23, 2020

只在app.js 引入 import "anna-remax-ui/esm/popup/style/css";
然后打包后查看每个页面的wxss都会有重复样式。
ui版本是1.8.1。
WX20200723-115352

@Darmody
Copy link

Darmody commented Aug 3, 2020

@theAir 是不是在每个页面都 import 了 app 文件?

@theAir
Copy link
Author

theAir commented Aug 3, 2020

@Darmody 因为app.js 有一个 createContext,所以页面都有import 这个 Context。

@theAir theAir closed this as completed Aug 6, 2020
@Darmody
Copy link

Darmody commented Aug 6, 2020

remaxjs/remax#1214

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

2 participants