-
Notifications
You must be signed in to change notification settings - Fork 8k
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
I can not see the new page #771
Comments
Hi, The next step was changing new.module.ts from: Best Regards |
Thank you very much
It worked for me. I tried the first part but not the second part. The
second part is what I needed.
I guess a simple update in the documentation is required :-).
Best Regards
Miguel Rodriguez
2017-02-24 13:39 GMT+01:00 jtrebess <[email protected]>:
… Hi,
I had the same problem.
I solved it by changing the route in pages.routing.ts from:
{ path: 'dashboard', loadChildren: () => System.import('./dashboard/dashboard.module')
},
to:
{ path: 'new', loadChildren: 'app/pages/new/new.module#NewModule' },
this is the way all routes in pages.routing.ts are implemented.
The next step was changing new.module.ts from:
export default class NewModule {}
to:
export class NewModule {}
after this changes it should work.
Best Regards
Johannes Trebeß
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#771 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFMMohvDIqHI2WZuNrgSB4H2zVaf521Tks5rfs-EgaJpZM4MKkOH>
.
--
Miguel Rodríguez
|
@lexzhukov can we update the documentation? |
@nnixaa yes, we can. |
The documentation was updated. |
i have the same problem , and the solution above does not work for me , any help? @jtrebess |
[x] bug report
I have followed the guide for create a new page https://akveo.github.io/ng2-admin/articles/013-create-new-page/ . I can see the option in the menu "New Page" but when I click on this option the same page before (for example dashboard) is shown.
I expected a new page with the content "My page content here" accordingly to the guide.
Best Regards
Miguel Rodríguez
The text was updated successfully, but these errors were encountered: