[英]installation of draw2d latest version on angular 10
how can I install the latest version of draw2d library on angular 10?如何在 angular 10 上安装最新版本的 draw2d 库?
I used the command "npm i draw2d" but the version that has been installed is 1.0.38 although the latest version is 6.1 I guess.我使用了命令“npm i draw2d”,但安装的版本是 1.0.38,尽管我猜最新版本是 6.1。
enter image description here在此处输入图像描述
thank you.谢谢你。
Actually, you have the latest version of draw2d according to npm: https://www.npmjs.com/package/draw2d/v/1.0.37实际上,根据npm,您拥有最新版本的draw2d: https://www.npmjs.com/package/draw2d/v/1.0.37
You can also download and add it manually at https://github.com/freegroup/draw2d您也可以在https://github.com/freegroup/draw2d手动下载和添加
To be clear, the version on npm is a package version, not the same that draw2d version of draw2d.org ( http://www.draw2d.org/draw2d/ ).需要明确的是,npm上的版本是package版本,与draw2d.org的draw2d版本不同( httporg//www.draw2d/ )。
It creates confusion, I think it's a mistake from the author.它造成混乱,我认为这是作者的错误。
You can test:你可以测试:
npm i draw2d@6.1
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.