参考资料

Yeoman学习与实践笔记

The Node Beginner Book

Express

运行 Node CLI

以 http-server 和 uglifyjs 为例。

对于全局安装的Node CLI,可以直接运行:

$ http-server
$ uglifyjs -V

对于非全局安装的Node CLI,使用如下方法运行:

$ node_modules/.bin/http-server
$ node_modules/.bin/uglifyjs -V

results matching ""

    No results matching ""