I am working with a very simple angular application.
I have below routing file.
const routes: Routes = [
{
path: '',
component: SelectFrameworkComponent
}, {
path: 'angular-4-bootstrap-3',
component: AngularFourBootstrapThreeComponent
}
];
That is working fine but when I make a build using ng build --prod
and try to run index.html file locally after changing href to my dist folder <base href="">
I am getting this error in console.
Unhandled Navigation Error: main.eac436052bd523dffe9b.js