I am building an integration with Elementor. So far so good, I have read all the resources there are for it and it kinda works, however there is one issue.
In the documentation it is mentioned that we could copy the css files locally and then import them using global styles, the standard frontity way.
However this wont work with Elementor as gloabal.css as well as post-${id}.css
are changing constantly, so I want to import them dynamically, however I am not sure how to achieve this.
I tried doing it like this:
<link rel="stylesheet" href="somedomain.com/wp-content/uploads/elementor/css/global.css"/>
but that doesn’t load the file correctly. It actually doesn’t load it at all, until a live reload.
So is there some way to reliably load css files that are not in my css folder?