Atozed Forums

Full Version: Import script object
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
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