Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用 npm。当我使用以下命令安装库时:
npm install select2 --save
或者
npm install https://github.com/select2/select2.git --save
还安装了它的所有依赖项。
如何仅安装库(没有依赖项)?