我想在这里为小部件使用角度元素。
我经历了 angular.io example angular-aio-src
我错过了一些东西。这是 demo .
Component ContentNotAvalilableComponent is not part of any NgModule or the module has not been imported into your module.
我看到的所有示例都是作为单独的模块创建的/手动引导是为了嵌入该模块而完成的。但我正在尝试一些像angular aio那样的东西。使用AppComponent引导延迟加载角度元素。不知道这里出了什么问题?
javascript导入索引.html
<script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.1.3/custom-elements-es5-adapter.js"></script>
https://www.npmjs.com/package/ngx-build-plus