Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Import script object
#1
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?
Reply
#2
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)