d3.js runtime error after upgrade to Angular 8

后端 未结 2 861

I am experimenting with upgrading my Angular 6 application to Angular 8. My code compiles, but I immediately receive a run-time error \"d3.js:8 Uncaught TypeError:

2条回答
  •  鱼传尺愫
    2020-12-17 19:31

    I was able to get it working by including d3 in the "scripts" field of angular.json.

提交回复
热议问题