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

css/sass module 自动更新问题 #2244

Closed
YanceyOfficial opened this issue Feb 22, 2019 · 5 comments
Closed

css/sass module 自动更新问题 #2244

YanceyOfficial opened this issue Feb 22, 2019 · 5 comments

Comments

@YanceyOfficial
Copy link
Contributor

YanceyOfficial commented Feb 22, 2019

当使用样式模块化,改动css或scss的代码时,只会生成新的 ***.wxss,而相应的 ***.wxml并不更新,因此样式修改无法实时反馈,现在只能被动刷一下相应的 ***.jsx 或 ***.tsx

@taro-bot
Copy link

taro-bot bot commented Feb 22, 2019

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

@YanceyOfficial
Copy link
Contributor Author

有时候也没问题,不过大部分情况无法实时反馈。

@luckyadam
Copy link
Member

确实存在问题,在 #1388 跟踪解决进度吧

@YanceyOfficial
Copy link
Contributor Author

好的,辛苦。

@wsyxl365
Copy link

wsyxl365 commented Aug 7, 2019

暂时的做法你可以修改对应jsx文件中的文字 保存重新编译下 这样你新增加的css module的类名可能就出来了

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

3 participants