#Is there an easy way to serve and organize css files in certain folder?
6 messages · Page 1 of 1 (latest)
I feel like you’re completely over complicating the problem of saving a file to a folder of your choosing.
If you‘re using any compiler / minificator / whatever it usually lets you set an output directory on build. Then you could just write a simple function that generates the links reading the file names from the public folder. Not sure why you’d want to do that unless you have like 100s of single css files which wouldn’t make sense.
Hold on I missed you’re using vite. Anyways why’d you want to do that?
What are you using vite for in the first place? If you just need to create some Stylesheets why not just add them to the public folder? And the term you’re looking for are blade directives but I’m not sure why you’d want to use these as you can just add the specific css using a stack on your slider component.
You took a look at stacks? Pretty sure that’s what you’re looking for