通过 npm 安装相关项

使用 npm(node package manager,节点程序包管理器)为您的项目安装站点相关项。

如果您使用代理访问 Internet,请通过 npm config 命令为 npm 设置代理。请参见 https://docs.npmjs.com/misc/config。要为 bower 设置代理,请参见 https://bower.io/docs/config/

注:

确保在本地计算机上安装了 Node.js 8.0.0 或更高版本 (https://nodejs.org/)。