https://sharepoint.stackexchange.com/questions/268742
Question
I have created SPFx webpart with angular2 and implemented routing and navigation but facing issue as below image:
Error:
1. WebPart structure:
2. app-routing.module.ts file
3.app.module.ts file
Solution
In Component.ts file have to change template url like this
Instead of,