Skip to main content

markstream_script

Function markstream_script 

Source
pub fn markstream_script() -> Markup
Expand description

Writes the <script type="module"> tag for the init module.

Module scripts run after the document is parsed, in order. This tag checks only the init module. Use markstream_head() or add markstream_preloads(): the preloads check the eager modules.