跳至主要內容

express


express

1 解决跨域问题 npm install cors –-save
https://github.com/expressjs/corsopen in new window

2 检测代码变动,不用实时在终端执行node npm install supervisor -g
https://github.com/petruisfan/node-supervisoropen in new window

3 静态服务器,随时随地将当前目录变成一个静态文件服务器的根目录 npm install anywhere –g
https://github.com/JacksonTian/anywhereopen in new window

4 另一个检查代码变动的工具npm install forever -g
https://www.jianshu.com/p/669a618f3212open in new window

上次编辑于:
贡献者: 52968