Frontend Modules


Frontend Modules / index

index

Main entry point for the CMS frontend bundle.

Imports all legacy modules (directly executed on load) and bootstraps all feature modules — self-contained components scoped to a root DOM element. Feature modules live in js/feature/ and are discovered automatically via require.context. Any element with a data-js-<module-name> attribute is used as the root for the corresponding module.

To enable Preact debugging, install the Preact Devtools browser extension:

https://preactjs.github.io/preact-devtools/