uote>You cannot make a JavaScript module as global.</blockquote>
<blockquote>You must put your script under <strong>wwwroot</strong> folder.</blockquote>
<hr class="my-4" />
<h1>Load JavaScript module on demand</h1>
<p>This technique will let you load a JavaScript module only when you need it. Each JavaScript module has it own scope. This means you can have 2 functions with the same name in different modules. There are 2 places to put your JavaScript module: <strong>wwwroot</strong> and collocate with a com