angular - 从 Angular 项目中卸载包

标签 angular uninstallation owl-carousel

我在我的项目中安装了 Owl carousel 包,现在我需要将其从我的项目中删除。 怎么可能,我尝试了 ng uninstall 但没有成功

最佳答案

以下是命令:

npm uninstall <name> removes the module from node_modules, but not package.json

npm uninstall <name> --save also removes it from dependencies in package.json

npm uninstall <name> --save-dev also removes it from devDependencies in package.json

npm -g uninstall <name> --save also removes it globally

关于angular - 从 Angular 项目中卸载包,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59169644/

相关文章:

authentication - Spring Data REST 中的 CORS 预检请求

angular - "export ' ɵɵ注入(inject) ' was not found in ' @angular/core'

permissions - 是否可以在没有管理权限的情况下写入 NSIS 卸载信息?

jquery - 未捕获的类型错误 : undefined is not a function - Owl carousel

javascript - foreach 绑定(bind)中的 Owl 轮播和 knockout.js 绑定(bind)

angular - Chrome 暂停请求 15 秒

javascript - 我的 Angular 2 对象打印在控制台上,但单个属性没有从模板打印

android - Android 设置/应用程序中未安装的应用程序

c++ - 从 C++ 运行 MsiExec.exe? Windows

javascript - Owl Carousel.js 和 Bootstrap 主题