vite-plugin-theme
vite-plugin-theme copied to clipboard
Example project is too complex
How should I use this in a smaller project? The example project is huge; it splits the plugin loading in vite.config.ts in so many different ways, that it's hard to follow how this plugin should be configured with for example 2 themes.
In other hand, the README is too simple. How should I create a simple 2 themed application and use the variables in my code?
Agreed, we need a simple example that shows how to switch between two themes.
look this plugin @zougt/vite-plugin-theme-preprocessor
It's not even configured in the example project. Meh.