Vue CLI 5 - Can I extract a send CSS file (and only CSS file) for a dark mode theme and then also inject it into my HTML?

Viewed 17

I would like to generate 2 separate CSS files, one for light mode and one for dark mode.

So how can I:

  • Generate 2 separate CSS files
  • Can I have both files injected into my HTML? (if I cant I would use JS to add it later)
0 Answers
Related