nodejs的安装及创建项目

安装windows nodejs教程:
1、官网下载windows安装;
2、CMD中输入:npm -g install koa -generator

创建项目:
1、首先新建文件夹
2、CMD中输入CD 文件夹路径 列: cd d:\nodesite
3、CMD中输入 koa2 -e (此为ASP.NET 中的<%=%>)
4、CMD中输入 npm install

下载Visual Studio Code 进行打开项目

posted @ 2018-01-19 17:37  —阿峰—  阅读(145)  评论(0编辑  收藏  举报