我想在我的项目中使用bpmn.io . 所以我试图将bpmn-properties-panel与Angular集成 .

我安装了所有模块并导入它们 . 但我没有得到他们所展示的所有 properties .

我得到的是图像下方

如您所见,我无法查看特定任务的所有属性 .

我经历了他们的官方论坛Angular 6 and properties-panel

如果我喜欢那样的话

import camundaModdleDescriptor from 'camunda-bpmn-moddle/resources/camunda.json';

我收到了错误

Cannot find module 'camunda-bpmn-moddle/resources/camunda.json'. Consider using '--resolveJsonModule' to import module with '.json' extension

帮我!

提前致谢 .