[英]Libman - How to install dependencies of installed library
I am using Libman - Asp Core - VsCode我正在使用Libman - Asp Core - VsCode
I Installed Semantic-ui which needs jQuery , Popper and etc.我安装了需要jQuery 、 Popper等的Semantic-ui 。
Is there a way that Libman install it's dependencies automatically while installing a library ?有没有办法让Libman在安装库时自动安装它的依赖项?
Like what npm does.就像npm所做的那样。
No. Libman does not track dependencies, it is not a package manager.不。Libman 不跟踪依赖项,它不是包管理器。 It provides a simplified experience for placing deployment-ready libraries into your project.
它为将部署就绪的库放入项目提供了一种简化的体验。 For a full package manager feature set, you should use a proper package manager like NPM.
对于完整的包管理器功能集,您应该使用合适的包管理器,如 NPM。
If libman.json has the dependencies listed but they aren't in the lib folder, one solution is to right click the project -> add -> Client Side Library and then add a library already listed in libman.json .如果libman.json列出了依赖项,但它们不在 lib 文件夹中,一种解决方案是右键单击项目 -> 添加 -> 客户端库,然后添加已在libman.json 中列出的库。 This will add all libraries from libman.json .
这将添加libman.json 中的所有库。 It will create a new entry in libman.json which can then be removed.
它将在libman.json 中创建一个新条目,然后可以将其删除。 Not ideal, not pretty, but it works.
不理想,不漂亮,但它有效。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.