https://sharepoint.stackexchange.com/questions/268742
题
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
解决方案
In Component.ts file have to change template url like this
Instead of,