简体   繁体   English

是否有任何命令可以创建 node-express es6 项目设置?

[英]Is there any command for creating node-express es6 project setup?

in node Es5 we run npm init command.在节点 Es5 中,我们运行 npm init 命令。 How can we initialize Es6 project with npm command ?我们如何使用 npm 命令初始化 Es6 项目?

You can create a quick node express application using Express Application Generator Tool您可以使用Express Application Generator Tool创建快速节点 express 应用Express Application Generator Tool

Here's the documentation link for it: Express Generator这是它的文档链接: Express Generator

Here's a quick command referred in the above documentation link to quick create the express app这是上述文档链接中引用的快速命令,用于快速创建 express 应用程序

npx express-generator

You need not to install npx from node versions above 8.2.0您不需要从 8.2.0 以上的节点版本安装 npx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM