Categories
javascript sass vue.js

With Vue, how would I load different CSS files depending on some logic / data?

I’m trying to enable different theming options for my app that users can choose from.

I know that I could switch out a class on the <body> tag, but that would make the CSS far messier than just using two different .scss files with different variable values.

Any ideas?