macaron icon indicating copy to clipboard operation
macaron copied to clipboard

Svelte/general vite support?

Open endigma opened this issue 2 years ago • 4 comments

endigma avatar Dec 20 '22 19:12 endigma

Macaron already has general vite support, so it should work with js/ts files. As for svelte, I think it would require adding a preprocessor for svelte files to make it work with them, but if you create the styles in a seperate js/ts files and then import the classes in your svelte file, I believe that should already work

Mokshit06 avatar Dec 21 '22 12:12 Mokshit06

I'll have a go at it and report what happens here for future reference.

endigma avatar Dec 21 '22 13:12 endigma

@endigma Any updates on this? Keen to try this in a future svelte project

Not-Jayden avatar Jun 11 '23 09:06 Not-Jayden

Nope, using unocss now, much more ergonomic to extend.

endigma avatar Jun 11 '23 12:06 endigma