我在我的项目中安装了 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/