Angular 8和IE 11如何解决路由问题

问题描述 投票:-1回答:1

Angular 8路由在IE11上不起作用!我有拖曳组件,我想在两者之间导航! 在chrome上完美工作;当我尝试访问http://localhost:4200/Form时,找不到任何页面!

  {path: 'Form', component: FormPartComponent},
  {path: 'chatbot', component: ChatBotComponent},
  {path: '**', component: LayoutComponent},
];
angular internet-explorer-11 angular8
1个回答
-1
投票

我已经执行了这些步骤,并且确实解决了问题

1-添加一个新的tsconfig-es5.app.json文件。2-更新angular.json配置。3-运行您的应用程序:ng serve --configuration es5。

© www.soinside.com 2019 - 2024. All rights reserved.