Back to news

How AsomeCMS works without a JavaScript build step

When you clone the AsomeCMS repo and run composer install, the frontend just works. Open the page in your browser and the CSS, JavaScript, images, and fonts all load. No npm install. No build step. No watch mode running in another terminal.

The trick is Symfony AssetMapper. It serves your CSS and JavaScript files directly from assets/, with import maps in the browser doing the dependency resolution that Webpack used to do at build time. Files are versioned, fingerprinted, and HTTP/2 push-friendly — and you didn't write a single line of webpack.config.js to make any of that happen.

For interactivity, AsomeCMS uses Stimulus controllers and Turbo for navigation. Both ship as plain JavaScript modules — no compilation needed.

The result is a frontend stack that gets out of your way. Most marketing sites don't need a SPA; they need pages that load fast and don't break when you forget to npm audit fix for a month.