Skip to content

AoT compatible with Angular CLI #11

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

Closed
kolkov opened this issue Dec 10, 2016 · 3 comments
Closed

AoT compatible with Angular CLI #11

kolkov opened this issue Dec 10, 2016 · 3 comments

Comments

@kolkov
Copy link

kolkov commented Dec 10, 2016

Hi! Is ui-router compatible with AoT compiler from CLI?

@NgModule({
  imports: [
    BrowserModule,    
    UIRouterModule.forRoot({     
      otherwise: { state: 'public.home', params: {} },
      useHash: false,
      //configClass: MyUIRouterConfig
    }),
  ],
  declarations: [
    AppComponent
  ],
  providers: [
  ],
  bootstrap: [ UIView ]
})
export class AppModule {}

I get this error:
image

@aitboudad
Copy link
Contributor

see ui-router/angular#13

@christopherthielen
Copy link
Member

Closing due to ui-router/angular#13

@christopherthielen
Copy link
Member

note: beta.5 is expected to have AoT and angular-cli support with lazy loading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants