1.安装nodjs
2 下载,解压
3.安装依赖,启动
# 安装依赖
npm install
# 跑起来
npm run start
3.2 官方npm安装依赖太慢解决方法
4. 会出现跨域,修改es配置
(冒号不要更换,就用下列的,不然出现闪退)
http.cors.enabled: true
http.cors.allow-origin: "*"
5. 浏览器输入
http://localhost:9100/
# 安装依赖
npm install
# 跑起来
npm run start
(冒号不要更换,就用下列的,不然出现闪退)
http.cors.enabled: true
http.cors.allow-origin: "*"
http://localhost:9100/