
"AnalogJS, a full-stack Angular meta-framework powered by Vite and Nitro, has officially released version 2.0, delivering powerful new capabilities around content management, build efficiency, and seamless developer tooling. The update marks a big step in Analog's evolution, strengthening its appeal for both content-heavy sites and large Angular applications. One of the release's new features are content resources, enabling developers to treat content (such as Markdown files) as first-class resources."
"On the build side, AnalogJS 2.0 introduces install and bundle size optimisations. The installation footprint is smaller, Angular builders are distributed as pure ESM, and some dependencies have been swapped for lighter alternatives (for example, tinyglobby replaces fast-glob). The authors report production bundle reductions of 100kb in typical full-stack projects. There is a smaller install footprint without any webpack dependencies and Vite CLI can be used for serve and build of projects."
"Tooling support has also been upgraded. Analog now supports Angular v17 through v20, Vite 6 and 7, Vitest 3 and 4, Storybook 10, and Nx 22. The framework retains its file-based routing model, hybrid SSR/SSG capabilities (with sitemap and RSS generation), and native API route support via Nitro. For teams upgrading from earlier versions or traditional Angular apps, AnalogJS provides a well-documented migration process. The official guide recommends installing @analogjs/platform, then running the built-in schematic to migrate an existing Angular CLI or Nx project:"
AnalogJS 2.0 introduces content resources so content files and lists can be used as reactive resources in components via Angular's experimental Resource API and the contentFilesResource API. The release reduces install and production bundle sizes by distributing Angular builders as pure ESM, swapping heavier dependencies for lighter alternatives (for example, tinyglobby for fast-glob), eliminating webpack dependencies, and enabling Vite CLI for serve and build. Reported production bundle reductions reach about 100kb in typical full-stack projects. Tooling compatibility expands to Angular v17–v20, Vite 6–7, Vitest 3–4, Storybook 10, and Nx 22. File-based routing, hybrid SSR/SSG with sitemap and RSS generation, and native Nitro API routes are retained. Migration steps include installing @analogjs/platform and running the provided schematic, and environment variable usage must be updated.
Read at InfoQ
Unable to calculate read time
Collection
[
|
...
]