Skip to content

adding support for platform-server (server-side rendering) using Angular CLI #7452

@m98

Description

@m98
- [ ] bug report -> please search issues before submitting
- [*] feature request

Versions.

@angular/cli: 1.3.1
node: 7.10.0
os: linux x64
@angular/animations: 4.3.5
@angular/common: 4.3.5
@angular/compiler: 4.3.5
@angular/core: 4.3.5
@angular/forms: 4.3.5
@angular/http: 4.3.5
@angular/platform-browser: 4.3.5
@angular/platform-browser-dynamic: 4.3.5
@angular/platform-server: 4.3.5
@angular/router: 4.3.5
@angular/cli: 1.3.1
@angular/compiler-cli: 4.3.5
@angular/language-service: 4.3.5

Feature request proposal

angular/universal has been merged into Angular 4.0, and we already know it as platform-server, and eveyone links to this directory to points out that universal lives inside Angular from now!
Unfortunately, the problem is there is no official documentation tutorial on angular.io website to clarify how to use platform-server, or what's the correct way to use platform-server, and users should struggle around to find an unofficial way to create their own server config, and other options to add server-side rendering for their website.
It's fine as long as they can run their app with platform-server support, but the problem is when it comes to a bigger community, we need to have a unified method of creating things for better support and faster development.
For that unified method of using platform-server, I think first of all the angular.io should write about platform-server as the official document of Angular, the other thing is that would be great if users could simply add support for platform-server simply by using Angular CLI.

The feature request I am asking for is a way to creating or adding support for platform-server using Angular CLI

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions