You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using @angular/cli and when I build a project using ng build --prod all the values that I resolve in all the states are returning undefined values.
When I build using ng serve or ng build everything works fine.
@Humberd see #36. It's fixed in 1.0.0-beta.5 which hasn't been released yet. You'll need to use @ResolveData() instead of @Input() to decorate your input.
What is wrong?
I'm using @angular/cli and when I build a project using
ng build --prod
all the values that I resolve in all the states are returning undefined values.When I build using
ng serve
orng build
everything works fine.Steps to recreate
I created this repo that shows the problem.
I created a home component:
In the
app.module
I created a defaulthome
state for that component:In the
app.component.html
I addedui-view
directive:How does it look using
ng serve
How does it look using
ng build --prod
The text was updated successfully, but these errors were encountered: