nginx本地部署elementUI文档

67 阅读1分钟
  • 下载nginx - nginx.org/en/download…

  • 拉取文档 - git@github.com:element-plus/element-plus.git

  • 将拉取的文档解压后放入 nginx/html

  • 修改文件 conf/nginx.conf

  • `

      server {
         listen       80;   
         server_name  localhost;
         #charset koi8-r;
      
         #access_log  logs/host.access.log  main;
    
         location / {
             root   html/element-plus-gh-pages;
             index  index.html index.htm;
         }....
    

`