【文件属性】:
文件名称:koajs-example:koajs的例子
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-10 22:01:25
JavaScript
koajs-example
example of koajs
npm install
npm start
##开发
node --harmony app.js
##部署
pm2 start app.js --node-args="--harmony"
pm2 list
###停止服务
pm2 stop 0
pm2 remove 0
pm2 delete 0
###重启服务
pm2 restart 0
【文件预览】:
koajs-example-master
----package.json(291B)
----view()
--------template.html(261B)
--------content.html(164B)
--------user.html(124B)
----LICENSE(1KB)
----.gitignore(526B)
----public()
--------css()
----app.js(1KB)
----README.md(268B)