williamhuntjr
williamhuntjr
NNuxt
Created by williamhuntjr on 8/2/2024 in #❓・help
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?
1 replies