举例:npm包名 A
应用名 B
在A的目录下 npm link
在B的目录下 npm link A 注意这里有时会提醒没权限,就要用 sudo npm link A
posted on 2020-04-20 13:53 bbb324 阅读(251) 评论(0) 编辑 收藏 举报