Taro: [Feature Request] css-in-js support

Created on 14 Jun 2018  ·  30Comments  ·  Source: NervJS/taro

后续能否支持css-in-js方案?整个项目都是js,岂不美滋滋?💅💅🏻
例如:glamor、styled-components、styled-jsx等

enhancement

Most helpful comment

计划支持

All 30 comments

计划支持

css-in-js +1

+1

微信小程序没有提供操作 WXSS 的 JS API,所以那些运行时(而不是编译时)生成 style 标签的 css-in-js 库(例如 emotion)是没可能应用的,是吧

硬编码进去,还有style插入。两种方案。

ok

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

🚧

styled-components +1

急需支持styled-components 这样才能个真正的实现组件跨端

styled-components +1

styled-components +1

styled-components +1

茲茲

我都快等不及了

styled-components +1

styled-components +1

styled-components +1

+1

+1

+1

+1

有没有进展啊,希望能支持 emotion

https://github.com/emotion-js/emotion

+1

+1

2020年了,还没有任何进展 吗??

+1

styled-components +1

Was this page helpful?
0 / 5 - 0 ratings