-
Notifications
You must be signed in to change notification settings - Fork 8
extractStyle开启后有办法不让css直接显示在源码中,而是分隔成css文件吗 #56
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
Comments
This extractStyle is very laggy on development mode, this is only for production? Making something with this
? |
我看antdv官网有SSR 静态样式导出教程,为什么这里不导出文件呢? |
@astrO1 @robertyclin @tinystorm @11003 可以试试加一个 nuxt-style-extractor 模块 |
感谢,可用! |
这个模块存在样式class优先级的问题:
|
@codingcn 可能是压缩或者移除未使用的问题,尝试关闭。具体可看配置 nuxt-style-extractor/blob/main/README_CN.md#配置。也欢迎 pr |
@codingcn 已支持保持原样输出,具体可见配置 → nuxt-style-extractor/blob/main/README_CN.md#保持原有状态 |
测试了下,的确可以了,感谢哈 |
RT
The text was updated successfully, but these errors were encountered: