Asp.net 更新到Angular 5后,Aspnet Angular SPA模板不工作
我已经将aspnet JavaScriptServices angular模板更新为angular 5.0.2 一切看起来都很好,但当它发布时,我发现了以下错误Asp.net 更新到Angular 5后,Aspnet Angular SPA模板不工作,asp.net,angular,.net-core,spa-template,Asp.net,Angular,.net Core,Spa Template,我已经将aspnet JavaScriptServices angular模板更新为angular 5.0.2 一切看起来都很好,但当它发布时,我发现了以下错误 Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware[0] An unhandled exception has occurred: No ResourceLoader implementation has been provided. Can't read the ur
Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware[0]
An unhandled exception has occurred: No ResourceLoader implementation has been provided. Can't read the url "app.component.html"
Error: No ResourceLoader implementation has been provided. Can't read the url "app.component.html" at Object.get
如果通过删除asp prerender module=“ClientApp/dist/main server”
关闭服务器端预渲染,那么它将正常工作,不会出现任何问题
有什么想法吗
注意:我已经做了更改,使用了AngularCompilerPlugin
而不是AotPlugin