-2
madge的指令仅适用于Linux系统(它需要使用sudo才能设置命令行部分)。有没有办法在Windows上运行它?如何在Windows上运行madge
madge的指令仅适用于Linux系统(它需要使用sudo才能设置命令行部分)。有没有办法在Windows上运行它?如何在Windows上运行madge
原来很简单。要安装马奇:
npm install madge
然后将其设置为命令行:
madge
对于打字稿生成的.js:
npm -g install madge
你可以接着用一个命令来运行它文件如下:
madge -f amd -c .
and yo你会得到通报。你需要“-f amd”。