import system files in javascript code example
Example 1: alias import javascript
import {default as alias} from 'my-module';
Example 2: import modules js html
<script type="module" src="main.js"></script>
import {default as alias} from 'my-module';
<script type="module" src="main.js"></script>