Inject Variables into Custom Files

Hi @dan
We are going to need a way to directly inject variables into all kinds of scripts and even css that is placed in locations like Body End, etc.
Right now it’s a nightmare of having to create data attributes and then read those back in and get those values and then inject them - which defeats the whole purpose of an API - this is the same insanity that Blocs forces devs to do - I expect it to be very easy on Elements.

2 Likes

Hi @Bill,

I’m not sure I follow, have you got a sample project showing what you’re trying to do?

Cheers