Currently interning, I've been tasked with building my own Angular 5 web application. However, I've hit a roadblock with an issue that's had me stuck for hours now. Every time I try to access the calendar, it gives me an error saying it can't find the 'calendar' URL.
Error message:
ERROR Error: Uncaught (in promise): Error: Cannot match any routes. URL Segment: 'calendar' Error: Cannot match any routes. URL Segment: 'calendar'
Here is the code snippet from calendar.module.ts:
import { NgModule } from '@angular/core';
// Other imports...
export class FuseCalendarModule {
// Module code...
}
Additionally, here is some code from app.module.ts:
import { NgModule } from '@angular/core';
// Other imports...
export class AppModule {
// Module code...
}
Lastly, navigation.model.ts contains information related to navigation:
import { FuseNavigationModelInterface } from '../core/components/navigation/navigation.model';
export class FuseNavigationModel implements FuseNavigationModelInterface {
// Navigation model data...
}
I am using Fuse 2 for Material Design as per requirements. I have also compared the calendar module with sample.module.ts but haven't been able to resolve the issue yet...
Note: I am new to this, so any help would be greatly appreciated!
Thank you for your assistance!