Atozed Forums
Import script object - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: Import script object (/thread-2793.html)



Import script object - Comograma - 07-12-2022

I need to insert this javascript code on <body> tag:

<script type="module">
import screenfull from './js1/fullscreen.js';
</script>


How/where can I do this?


RE: Import script object - Alexandre Machado - 07-17-2022

Not easily done unless you are using templates. We're introducing a new feature that will allow you to add both code and files to be rendered in script module tags and it will be available soon.

Cheers