Angular 8路由在IE11上不起作用!我有拖曳组件,我想在两者之间导航! 在chrome上完美工作;当我尝试访问http://localhost:4200/Form时,找不到任何页面!
{path: 'Form', component: FormPartComponent},
{path: 'chatbot', component: ChatBotComponent},
{path: '**', component: LayoutComponent},
];
我已经执行了这些步骤,并且确实解决了问题
1-添加一个新的tsconfig-es5.app.json文件。2-更新angular.json配置。3-运行您的应用程序:ng serve --configuration es5。