======================== node.js搭建本地服务器=====================
官网下载node.js文件并安装完成 =>> https://nodejs.org/zh-cn/download/
===============================================================
本地运行服务器的两种简便方式
一:使用anywhere运行
1.输入npm install anywhere -g来安装anywhere,全局安装
2.cd 到需要运行的项目路径
3.输入 anywhere 回车运行 (在同一个wifi下在手机输入地址,就可以手机访问了)
二:使用 http-server 运行
1.输入 npm install http-server -g 全局安装http-server
2.cd 到需要运行的项目路径
3.输入 http-server 回车运行