简体   繁体   English

Libman - 如何安装已安装库的依赖项

[英]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.我安装了需要jQueryPopper等的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.

相关问题 如何在libman(库管理器)asp.net Core 2.1中使用Microsoft.jQuery.Unobtrusive.Ajax? - How do I use Microsoft.jQuery.Unobtrusive.Ajax with libman (Library manager) asp.net Core 2.1? 如何使用libman而不是npm来下载typescript定义 - How to use libman instead of npm to download typescript definitions 如何将我的Azure DevOps NPM Artifact提要用作libman.json中的提供者? - How do I use my Azure DevOps NPM Artifact feed as a provider in my libman.json? 如何安装Bower.json和package.json依赖项osx - how to install bower.json and package.json dependencies osx Blazor:如何将 npm 依赖项包含到 Razor 类库中? - Blazor: How to include npm dependencies into a Razor Class Library? 使用本地文件系统复制 libman unpkg - Replicating libman unpkg with a local filesystem 混淆VS2022中的Nuget和Libman - Confuse about Nuget and Libman in VS2022 如何修复“无法加载共享库'httpapi.dll'或其依赖项之一” - How to fix “Unable to load shared library 'httpapi.dll' or one of its dependencies” 如何一次性或手动或本地安装 C# 依赖项以在没有 Internet 连接的 VS-code 的情况下离线工作? - How to install C# dependencies one time or manually or locally to work offline without internet connection for VS-code? 检查.NET Core中动态加载的库的依赖关系 - Inspect dependencies for dynamically loaded library in .net core
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM