如果我使用AOT编译动态编译将不可能。所以我需要将编译器加载到浏览器。那么如何加载呢?如果我使用
import { JitCompilerFactory } from '@angular/compiler';
Run Code Online (Sandbox Code Playgroud)
但是,导入后JitCompilerFactory出现以下错误:
“在 'angular/compiler' 中找不到导出 'JitCompilerFactory'
那么我现在需要从'angular/platform-browser-dynamic'动态编译中导入它是对的吗?