Replies: 1 comment
-
This hook can help you. https://unocss.dev/config/#preprocess preprocess: m => 'ui-' + m, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone. I have a scenario which I wanted to migrate a lib component that used unocss without a prefix to a prefix that contained 'ui-'
I know that the group prefix like
ui-(flex flex-col)
would work, but it still take a lot of work.Can anyone guide me a way to write a transformer(Vite) for adding prefix at correct ultilities. thanks
Beta Was this translation helpful? Give feedback.
All reactions