-
Notifications
You must be signed in to change notification settings - Fork 138
Is ui-router AoT compatible? #29
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
Comments
No, not today. I hope to be AoT ready by 1.0 final. |
From @kolkov on September 23, 2016 6:39 OK, thanks! |
From @tonimoeckel on December 11, 2016 22:32 Are there any updates on this? The angular-cli version beta.22 forces us to use AOT compatible libs. So this issue is more important for many developers. |
From @kolkov on December 12, 2016 2:46 I think beta.4 that will compatible. |
From @aitboudad on December 12, 2016 11:55 see #13 |
AoT compatible in beta.4 release |
I'm on "ui-router-ng2": "^1.0.0-beta.4"
|
@miton18 it sounds like you're using an anonymous |
My State :
No anonymous function but an anonymous Resolvable, what's wrong with that ? |
@miton18 Honestly, I don't know. I know very little about AoT stuff. I assume anonymity is not favorable. |
I tried with exported resolver functions
same error:
|
@miton18 try with export function localDashboardResolvable(trans, dStore) { |
Thx @aitboudad it works...... Why ? |
lambda can't be statically analyzed, for more details check: |
From @kolkov on September 18, 2016 0:38
Compiler errors:
PublicModule:
Copied from original issue: angular-ui/ui-router#3012
The text was updated successfully, but these errors were encountered: