Skip to content

Instantly share code, notes, and snippets.

@goooooouwa
Last active March 16, 2017 14:32
Show Gist options
  • Save goooooouwa/3b8c08392c9c6134127b83caeffade23 to your computer and use it in GitHub Desktop.
Save goooooouwa/3b8c08392c9c6134127b83caeffade23 to your computer and use it in GitHub Desktop.
如何在浏览器里渲染Ejs模版

如何在浏览器里渲染Ejs模版

  1. 将我的student-management-system项目代码git clone到电脑上
  2. git checkout到example-of-ejs-in-browser分支
  3. 通过npm run web命令将web server跑起来
  4. 访问http://localhost:3000/便可以看到《如何在浏览器里渲染Ejs模版》的说明和实例。

以下是页面截图

screen shot 2017-03-16 at 10 28 22 pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment