including your script into html
<script src="app.js" modules="hello other-module"></script>
how app.js looks like
import AppModuleManager from "phlex-app-module-manager";
import hello from "./src/hello"
AppModuleManager.launch();
finally an example for a module
import AppModuleManager from "phlex-app-module-manager";
@AppModuleManager.registerModule
class Hello{
static init(){
console.log('Hello!');
}
}