How do I reference a local CSS/JS file from within an HTML?

Hi all,

I tried a few different potential solutions and I’m not sure that what you’re asking about is possible in the platform today unfortunately. It is something I can add to our to do list but I’m not sure on when it would get done to be honest. So it seems your best bet at the moment is one of the workarounds we discussed previously.

One thing you can do if you’re comfortable writing js is to write a small script which can combine different files into a single html asset that you can use in your project. This can help to keep each individual file smaller when you need to work on them but then generate a single asset for you to use in your project once it is all complete.

I know it isn’t ideal so I apologize for that but it is all we have available to us at the moment.

3 Likes