Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 422 Bytes

File metadata and controls

18 lines (13 loc) · 422 Bytes

简介

Node 本地简单静态服务器

如何使用

  1. 安装 node
  2. 建立文件夹 static 用来存放静态资源文件 css\html\js\images
  3. 执行命令行 node server
  4. 浏览器输入地址 'localhost:8000/test.html'

便捷

除了安装node,无需依赖安装配置其它。

Static中

  1. template-demo:模板文件
  2. check-for-yii:要提交到PHP的代码
  3. check-demo:本地调试代码