Browse Source

fix

pull/24026/head
erdemcaygor 3 months ago
parent
commit
5cf8ba2875
  1. 3
      npm/ng-packs/packages/schematics/src/commands/ssr-add/server/files/server-builder/ngmodule-src/app/app.module.server.ts.template

3
npm/ng-packs/packages/schematics/src/commands/ssr-add/server/files/server-builder/ngmodule-src/app/app.module.server.ts.template

@ -1,5 +1,6 @@
import { NgModule, inject, PLATFORM_ID, TransferState } from '@angular/core';
import { NgModule, inject, PLATFORM_ID, TransferState, APP_INITIALIZER } from '@angular/core';
import { ServerModule } from '@angular/platform-server';
import {isPlatformServer} from "@angular/common";
import { <%= appModuleName %> } from '<%= appModulePath %>';
import { <%= appComponentName %> } from '<%= appComponentPath %>';

Loading…
Cancel
Save