diff --git a/packages/schematics/angular/app-shell/index.ts b/packages/schematics/angular/app-shell/index.ts index 20793404782b..4676fec483ae 100644 --- a/packages/schematics/angular/app-shell/index.ts +++ b/packages/schematics/angular/app-shell/index.ts @@ -210,6 +210,9 @@ const appShellSchematic: RuleFactory = createProjectSchematic( module: 'app.module.server.ts', project: options.project, standalone: isStandalone, + // The `AppShell` import added above expects the default file and class name, so the + // component must not inherit a `type` from the workspace. + type: '', }), ]); },