scullyio / scully

The Static Site Generator for Angular apps

Home Page:https://scully.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for applications bootstrapped via standalone components

rgustavsson opened this issue · comments

🧩 Feature request

Description

Do you plan to support applications that are bootstrapped via standalone components?

We've used scully for a short period now and have been super happy. Now that we migrated to standalone components we ran into this problem with scully;

Loading guess-parser and scanning Angular app for routes Error: Cannot find the main application module

Answer was provided in the gitter community channel.
Quoting Sander;

Scully works with v17, and standalone.
However, because on how the hydration is done in angular, there is no way we can support that (yet)

However, the guess-parser isn't working in that case, so we can't do automated route detection anymore. So you have to list all your routes manually in the extra-routes option.

Working with the Angular team to be able to use the route detection that the CLI uses for prerendering now.