Learning Note: NodeJS相关文档
- 下载项目内容;
- 启动 git;
- 执行 node web.js;
- 页面输入 127.0.0.1:3000/view/text.html
在页面中确定访问地址及端口号,通过pathname传递url地址实现也页面内容。
1.直接链入地址:
<a href='/new.html'>new</a>
2.通过index.js
启动NewWeb.js
更新依赖包
npm install xxx@yy
在页面中确定访问地址及端口号,通过pathname传递url地址实现也页面内容。
1.直接链入地址:
<a href='/new.html'>new</a>
2.通过index.js
启动NewWeb.js
更新依赖包
npm install xxx@yy