vite-plugin-theme icon indicating copy to clipboard operation
vite-plugin-theme copied to clipboard

Example project is too complex

Open naftis opened this issue 2 years ago • 3 comments

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?

naftis avatar Nov 09 '21 12:11 naftis

Agreed, we need a simple example that shows how to switch between two themes.

0biWanKenobi avatar Nov 14 '21 21:11 0biWanKenobi

look this plugin @zougt/vite-plugin-theme-preprocessor

GitOfZGT avatar Dec 06 '21 03:12 GitOfZGT

It's not even configured in the example project. Meh.

rj76 avatar Jun 06 '22 08:06 rj76