Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standalone rendering #3045

Merged
merged 3 commits into from Mar 17, 2023
Merged

Standalone rendering #3045

merged 3 commits into from Mar 17, 2023

Commits on Mar 16, 2023

  1. feat(@nguniversal/builders): add support for prerendering a standalon…

    …e application
    
    This commit adds support for prerendering a standalone application.
    
    The `main.server.ts`, will need to export a bootstrapping function that returns a `Promise<ApplicationRef>`.
    
    Example
    ```ts
    export default () => bootstrapApplication(AppComponent, {
      providers: [
        importProvidersFrom(ServerModule),
        provideRouter([{ path: 'shell', component: AppShellComponent }]),
      ],
    });
    ```
    alan-agius4 committed Mar 16, 2023
    Copy the full SHA
    51e4353 View commit details
    Browse the repository at this point in the history
  2. feat(@nguniversal/common): support rendering standalone application

    This commit adds support for renering a standalone application.
    alan-agius4 committed Mar 16, 2023
    Copy the full SHA
    2511af3 View commit details
    Browse the repository at this point in the history
  3. feat(@nguniversal/express-engine): support rendering standalone appli…

    …cation
    
    This commit adds support for renering a standalone application.
    alan-agius4 committed Mar 16, 2023
    Copy the full SHA
    7f8cd62 View commit details
    Browse the repository at this point in the history