I am creating a widget that requires me to add the JS in the JS module (type="module"), under JS / CSS Includes, I add the JS and define (attachment) (type: module), and when I see it on the live demo site. type='module" is not added to the JS.
The JS/CSS's " Include as ES6 module" did not add type="module" to my HTML but if I use the import statement in the JS tab with “load as module” checked it works fine. Now, I am having issues
if I checked include as an ES6 module, I see the preview on my Elementor Editor but it wouldn't output as type="module" in the frontend.
If I use the import statement in the JS tab, it will output as type="module" in my JS but I am not seeing the preview on my frontend.
Hello, Support,
I am creating a widget that requires me to add the JS in the JS module (type="module"), under JS / CSS Includes, I add the JS and define (attachment) (type: module), and when I see it on the live demo site. type='module" is not added to the JS.
I think it is a bug
Thanks
Kishorchand
Thank you, Max, for replying.
The JS/CSS's " Include as ES6 module" did not add type="module" to my HTML but if I use the import statement in the JS tab with “load as module” checked it works fine. Now, I am having issues
I attached a zip file where you can look
Thank you again
Attached files: lite_vimeo_embedded_elementor.zip
Max, it doesn't work on my Localhost environment but it works on my live site.
Thank you for confirming