单spa角度的延迟加载

时间:2020-02-26 16:13:20

标签: angular7 single-spa-angular

我将single-spa-angularangular-7一起使用,并且我想使用lazyLoading方法加载模块,但是我得到了

Uncaught (in promise): SyntaxError: Unexpected token '<'
SyntaxError: Unexpected token '<'
    at resolvePromise (zone.js:836)
    at resolvePromise (zone.js:795)
    at zone.js:897
    at ZoneDelegate.invokeTask (zone.js:431)
    at Object.onInvokeTask (core.js:17290)
    at ZoneDelegate.invokeTask (zone.js:430)
    at Zone.runTask (zone.js:198)
    at drainMicroTaskQueue (zone.js:611)
    at ZoneTask.invokeTask [as invoke] (zone.js:517)
    at invokeTask (zone.js:1671)

有人可以帮我吗

0 个答案:

没有答案