脚手架@nestjs/cli安装
npm i @nestjs/cli -g
alias nest="/usr/local/Cellar/node/11.10.0/bin/nest"
nestjs项目初始化
nest new you_program
cd you_program
npm run start
访问 localhost:3000
nestjs项目运行正常
npm i @nestjs/cli -g
alias nest="/usr/local/Cellar/node/11.10.0/bin/nest"
nest new you_program
cd you_program
npm run start
访问 localhost:3000
本文标题:nestjs(1)开发环境搭建
本文链接:https://www.haomeiwen.com/subject/tbfxzhtx.html
网友评论