semi-design icon indicating copy to clipboard operation
semi-design copied to clipboard

希望能增加对Remix框架的支持

Open zwying0814 opened this issue 2 years ago • 5 comments

image

zwying0814 avatar Jul 09 '22 17:07 zwying0814

+1

FlurryNight avatar Jul 11 '22 04:07 FlurryNight

👌,应该需要通过plugin的方式进行处理。后续有计划跟进。

pointhalo avatar Jul 11 '22 10:07 pointhalo

Awesome, looking forward to it!

Thanks

FlurryNight avatar Jul 11 '22 12:07 FlurryNight

👌,应该需要通过plugin的方式进行处理。后续有计划跟进。

粗略调研了一下ui library对remix兼容的case,大部分都是build pure js,然后再让用户手动Link function的方式引入全量css或单个css

我们比较倾向于在现有的 build外,再额外增加一份构建产物,里面不含import css的语句。相比plugin的方式所需工作量会更少

pointhalo avatar Jul 14 '22 05:07 pointhalo

Exactly!, Amazing news

Thank you

FlurryNight avatar Jul 14 '22 10:07 FlurryNight

@pointhalo 请问对remix的支持何时能实现?有无计划时间表?

Jackeriss avatar Dec 17 '22 02:12 Jackeriss

remix 的roadmap上,有提及他们计划修改对于 css import 的限制,感觉这个等他们来支持更合理

https://github.com/remix-run/remix/discussions/4775

https://github.com/remix-run/remix/issues/4817

pointhalo avatar Jan 13 '23 07:01 pointhalo

✅ Remix 对 css side effect import 的支持已release ✅ Semi 侧使用文档已更新

升级 remix至 latest版本,按照文档指引操作即可完成接入使用:https://semi.design/zh-CN/start/getting-started

image

pointhalo avatar Jan 19 '23 09:01 pointhalo