angular7-router Questions
6
I have created an application on angular 7 and ionic 4.
I tried to edit app.routing.ts file, setting path and component. From then on I am getting this error below:
ERROR in ./src/app/department/...
Nik asked 17/6, 2019 at 10:27
4
Solved
I am trying to write unit test for getCurrentNavigation().extras.state using jasmine.
To solve the issue, I have tried to spy this router method.
My component file,
@Component({
selector: 'app-...
Ducks asked 23/8, 2019 at 5:9
3
Solved
I have tried three approaches.
1st : index.html
<base href="/customer">
2nd : app.module.ts
@NgModule({
providers: [{provide: APP_BASE_HREF, useValue: '/customer'}]
})
3rd : app-routi...
Deena asked 12/6, 2019 at 8:40
4
Solved
in my angular app when I add routes in gifts-routing.module.ts this error appears
and when i remove the routes it works
but i still need to route
so how can i solve this error
ERROR Error: Uncaug...
Sulfapyridine asked 18/2, 2020 at 22:9
1
I used ComponentFactoryResolver to access all the entry component factories and then add routes of those components dynamically in Angular 7.
constructor(private componentFactoryResolver: Componen...
Oilskin asked 10/5, 2020 at 5:49
1
© 2022 - 2024 — McMap. All rights reserved.