node中的express框架
摘要:Express "Express en" "Express cn" Geting Started 安装 + 使用 1. 调用express方法,得到一个app实例,app实例对象就类似于原来的sever对象。 2. 创建路由对象 3. 设置路由 4. 加载路由 5. 模板引擎 配置模板文件存放的路径
阅读全文
posted @ 2016-11-06 01:03
posted @ 2016-11-06 01:03
posted @ 2016-11-06 01:02
posted @ 2016-11-06 01:02