我通過(guò)create-react-app命令創(chuàng)建了一個(gè)react應(yīng)用,現(xiàn)在需要安裝redux包,我直接用npminstall--saveredux方法安裝,結(jié)果把node_modules里的其他包都刪了,單獨(dú)安裝了redux。如何避免這種情況。
關(guān)于npm install包后會(huì)把原來(lái)的包刪掉
慕容3067478
2019-05-23 18:29:26