Help loading CSS dynamically

i am trying to load global CSS during runtime based on env variable. currently i have something like this in nuxt.config.ts:
css: ['./assets/css/main.css', `./assets/css/realm/${someConfig}.css`],
css: ['./assets/css/main.css', `./assets/css/realm/${someConfig}.css`],
is there a way i can load the someConfig.css file dynamically during runtime?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server