-
Notifications
You must be signed in to change notification settings - Fork 13.5k
IonicPage direct URL access #11703
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
Hello, would you mind posting a repo we could use to reproduce this issue? Thanks! |
@jgw96 Hello there, thanks, I appreciate your help |
Same problem and same error message. This issue is very easy to reproduce. |
Remove page modules from app module definition, and use string containing page classname or name defined in IonicPage deforator according to blog entry on http://blog.ionic.io |
@ChezRD could you provide some code? I tried to follow your instruction but unfortunately without success |
@pizzetto you can get example on https://github.com/ChezRD/Ionic3-select-issue It's less complicated explanation that i can write from my phone. This question was asked alson on SO and ionic forums, actually on closed issues you can find solution too. There are posts on blog.ionic.io describind deeplinking, lazy loading and migrating to ionic 3, you should read all of them. |
Thanks for the issue! This issue is being closed due to inactivity. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. Thank you for using Ionic! |
Ionic version: (check one with "x")
[ ] 1.x
[ ] 2.x
[x ] 3.x
I'm submitting a ... (check one with "x")
[ x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
I want to try the direct url access made available with IonicPage. If I type for instance:
I get this error:
Runtime Error
undefined is not a function
Stack
trace: TypeError: undefined is not a function at Array.map (native) at webpackAsyncContext (http://localhost:8100/build/main.js:81286:34) at loadAndCompile (http://localhost:8100/build/main.js:78129:36) at NgModuleLoader.load (http://localhost:8100/build/main.js:78094:83) at ModuleLoader.load (http://localhost:8100/build/main.js:59126:44) at DeepLinker.getNavLinkComponent (http://localhost:8100/build/main.js:27110:39) at DeepLinker.initViews (http://localhost:8100/build/main.js:27284:21) at Nav.ngAfterViewInit (http://localhost:8100/build/main.js:52767:33) at callProviderLifecycles (http://localhost:8100/build/main.js:11476:18) at callElementProvidersLifecycles (http://localhost:8100/build/main.js:11451:13) at callLifecycleHooksChildrenFirst (http://localhost:8100/build/main.js:11435:17) at checkAndUpdateView (http://localhost:8100/build/main.js:12457:5) at callViewAction (http://localhost:8100/build/main.js:12764:17) at execComponentViewsAction (http://localhost:8100/build/main.js:12710:13) at checkAndUpdateView (http://localhost:8100/build/main.js:12455:5)
Expected behavior:
I expecting to see my login page component with a simple login form. Anyway it was just a test of IonicPage
Related code:
app-module.ts
login.ts
Other information:
Based on the IonicPage API Docs should be working.
What am I doing wrong?
thanks!
The text was updated successfully, but these errors were encountered: