Just looked at this. It states that
By default Aurelia’s routes are not case sensitive.
But the issue is with the RouterConfiguration options.root
acting in a case sensitive way.
configureRouter(config: RouterConfiguration, router: Router): void {
config.title = 'Aurelia';
config.options.pushState = true;
config.options.root = '/App';
config.map([
{ route: ['', '/home'], name: 'home', moduleId: PLATFORM.moduleName('./pages/home'), nav: true, title: 'Home'},
{ route: '/about-us', name: 'about-us', moduleId: PLATFORM.moduleName('./pages/about-us'), nav: true, title: 'About Us'},
{ route: '/about-us/our-company', name: 'our-company', moduleId: PLATFORM.moduleName('./pages/about-us/our-company'), nav: true, title: 'Our Company'},
{ route: '/about-us/link-below-our-company', name: 'link-below-our-company', moduleId: PLATFORM.moduleName('./pages/about-us/link-below-our-company'), nav: true, title: 'Link Below Our Company'},
{ route: '/about-us/people', name: 'people', moduleId: PLATFORM.moduleName('./pages/about-us/people'), nav: true, title: 'People'},
{ route: '/services', name: 'services', moduleId: PLATFORM.moduleName('./pages/services'), nav: true, title: 'Services'},
{ route: '/contact-us', name: 'contact-us', moduleId: PLATFORM.moduleName('./pages/contact-us'), nav: true, title: 'Contact Us'},
{ route: '/link-that-is-hidden', name: 'link-that-is-hidden', moduleId: PLATFORM.moduleName('./pages/link-that-is-hidden'), nav: true, title: 'Link that is not hidden'},
]);
this.router = router;
}