$mol apps live inside MAM — the build tool and module registry. You clone it once and develop your modules inside it:1gitclonehttps://github.com/hyoo-ru/mam.git./mam2cdmam3npminstall4npmstartnpmstart runs a watching dev server on http://localhost:9080/. It rebuilds on save and resolves dependencies automatically — you never maintain a bundler config.There is also the official quick start from the MAM README, without cloning:1mkdirmam&&cdmam2npmexecmam@latestIt starts the same dev server in an empty folder. We still recommend the clone: all the work happens inside MAM anyway, and the clone comes with editor settings (.vscode) and .npmrc.
Nothing installed on your machine? Open the workspace in GitHub Codespaces: codespaces.new/hyoo-ru/mam. It is VS Code in the browser on a GitHub machine with Node.js already there. Run npminstall and npmstart in its terminal and open the forwarded port 9080.
Every component name maps to a folder path, and each underscore is a folder separator:1$my_app → my/app/2$my_app_header → my/app/header/Module folder names never contain an underscore — use nested folders for multi-word names. If a component you use never shows up in the bundle, the folder path almost always doesn't match the class name.
A component is a folder of files. The main ones:FilePurposeThe index.html of an app mounts the root component:1<bodymol_view_root>2<divmol_view_root="$my_app"></div>3<scriptsrc="web.js"></script>4</body>