Skip to content

Angular 2 Example Upgrade #204

Open
Open

Description

@bennett000

Upgrade the Angular 2 example application to:

  • conform to the angular.io style guide with respect to NgModules
  • use lazy loading for routes
  • use AoT for production builds

Activity

  1. smithad15 commented on Feb 27, 2017

    @smithad15
    Contributor

    This still hasn't been completed in angular2-starter-example

  2. SethDavenport commented on Feb 27, 2017

    @SethDavenport
    Contributor

    In many ways this overlaps with rangle/angular2-redux-example#247, which I've been working on: https://github.com/rangle/angular2-redux-example/pull/292

  3. SethDavenport commented on Feb 27, 2017

    @SethDavenport
    Contributor

    The idea is that we'll get AoT and lazy loading if we move to the CLI, without having to maintain the toolchain. However one blocker to moving to the cli was the presence of the local auth server. My PR replaces it with mock endpoints.

    Once that's done, we can cli-ify it, and then move the folder structure around so it makes more sense/matches ng lint rules.

  4. SethDavenport commented on Feb 27, 2017

    @SethDavenport
    Contributor

    I was having some issues with Robot but we should perhaps disable those tests and re work them eventually in terms of protractor?

  5. SethDavenport commented on Feb 27, 2017

    @SethDavenport
    Contributor

    Especially since react-redux-example has the same robot test setup almost exactly if we want to keep a robot example around for QA

  6. smithad15 commented on Feb 28, 2017

    @smithad15
    Contributor

    Agreed that we should be maintaining a Protractor suite as a reference point. I can see that coming up more often in Angular-land than Robot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions