1. npm常用命令npm init –yes 初始化一些信息例如项目入口、作者、版本等 (npm必须,cnpm不需要)
npm install module_name -S 即 –save ,写入package.json的dependen
2021-01-24