vue项目windowServer nginx下部署

https://www.cnblogs.com/jiangwangxiang/p/8481661.html

nginx下载地址 http://nginx.org/en/download.html  

下载nginx后 ,在目录下cmd   执行 nginx.exe 在进程中查看是否启动nginx.  关闭nginx   ,也要到进程中关闭。‘

2.参考  打包本地的vue项目文件,在html目录下创建文件夹zic,然后把打包好的 dist 目录下的 static文件夹和index.html放入到zic下。

3.nginx配置文件不用修改 conf=》nginx.conf ,,

 参考https://www.cnblogs.com/mmzuo-798/p/9273754.html

扫描二维码关注公众号,回复: 4577517 查看本文章

猜你喜欢

转载自www.cnblogs.com/Tom-yi/p/10148560.html