Open ey-aroberts opened 7 years ago
This seems like a bug. Can you show me in a sample project?
Thanks, Dan
Found this issue and this possible solution:
Any suggestions? Thanks.
having the same issue. but my use case is with list and details type pages where when clicking in the detail page and refreshing should take back to the list. this worked because they had the same segment. if this is a bad practice, what is the correct way to achieve navigation to the detail view being just "in memory"?
while this is addressed a workaround is to add a /
at the end of the segment. this fools the check into thinking they're different while the router treats them as the same. so something like page-segment
becomes page-segment/
. but again THIS IS A HACK not a solution to the bug
Short description of the problem:
Prior to ionic-app-scripts 3.0.0 lazy loaded modals just needed an IonicPage decorator. With ionic cli v3 I now have to add a segment or name for them.
What behavior are you expecting?
I would like the old ability to not have a name or segment. This allowed the url to stay the same as the current page on desktop website.
Steps to reproduce:
Create 2 modal components with the below setup. @IonicPage() @Component({ templateUrl: 'test.modal.html', })
Run prod build node --max_old_space_size=4000 ./node_modules/.bin/ionic-app-scripts build --prod
Get following error Error: There are multiple entries in the deeplink config with the segment of test.component
Which @ionic/app-scripts version are you using? The above scenario worked on app-scripts ^2.1.3
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)