-
Currently, the styles of the icons are mixed together with the regular CSS styles, resulting in a bloated CSS file. I would like to separate these icon styles from the output file and create a standalone file called "icons.css". This way, I can leverage CDN to accelerate the loading speed of the icons.css file. |
Beta Was this translation helpful? Give feedback.
Answered by
zyyv
Nov 6, 2023
Replies: 1 comment
-
https://unocss.dev/config/layers#layers Icons preset generated css in a single layer, try to use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
euwei7
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://unocss.dev/config/layers#layers
Icons preset generated css in a single layer, try to use
import uno:icons.css
in someway.