I’ve been following the style guide to create a custom React plugin. It works fine.
I then switched to styling integration and ran into issues with esbuild. I couldn’t get stylex
to work with it. I also tried integrating stylex
with Vite but failed there as well.
I found a few examples where Vite was used for plugin development, but I didn’t see any clear benefits in those solutions.
So I have a few questions:
-
What styling solution should I use for React-based Obsidian plugins?
-
Is Vite compatible with Obsidian plugin development?
Thank, you.