进入nginx下载地址:https://nginx.org/


下载完安装包以后,解压在D盘中

双击进去=>

将前端打包好的文件放在nginx的html文件夹中

可能80端口会被系统所占用
我们可以在nginx的conf文件夹中的nginx.conf文件中修改80为90

之后我们就可以在任务管理器中看到了

然后
localhost:90 就可以看到nginx中部署的静态资源
进入nginx下载地址:https://nginx.org/
下载完安装包以后,解压在D盘中
双击进去=>
将前端打包好的文件放在nginx的html文件夹中
可能80端口会被系统所占用
我们可以在nginx的conf文件夹中的nginx.conf文件中修改80为90
之后我们就可以在任务管理器中看到了
然后
localhost:90 就可以看到nginx中部署的静态资源