From ebd353e1eeb3a2a9b68ca9efeed1ec978bb4f608 Mon Sep 17 00:00:00 2001 From: WenshuaiZhang <7786619+wenshuaizhang@user.noreply.gitee.com> Date: Wed, 20 Jul 2022 11:30:32 +0000 Subject: [PATCH] =?UTF-8?q?update=20docs/guide/other/developerMustSee.md.?= =?UTF-8?q?=20=E6=88=91=E6=84=9F=E8=A7=89=E8=BF=99=E6=A0=B7=E5=86=99?= =?UTF-8?q?=E5=AE=AB=E5=AE=B9=E6=98=93=E7=90=86=E8=A7=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/guide/other/developerMustSee.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/other/developerMustSee.md b/docs/guide/other/developerMustSee.md index ed255db..8e1ad62 100644 --- a/docs/guide/other/developerMustSee.md +++ b/docs/guide/other/developerMustSee.md @@ -18,5 +18,5 @@ pageClass: max-content ### 线上环境 1. 建议删除`/install`目录。 -2. 线上环境可以选择**不上传**`/web`目录,前端每次重新发布后,只将`/public/assets 目录`和`/public/index.html 文件`,同步到服务器上即可。 +2. 线上环境可以选择**不上传**`/web`目录,前端每次线下环境的'/web目录下'重新npm run build (其他工具同理)打包发布后dist的目录下有assets目录和ico文件和index.html文件,只将打包后的`/dist/assets 目录`和`/dist/index.html 文件` 覆盖服务器端 `/public/assets 目录`和`/public/index.html 文件`,即可同步到服务器上。 3. 使用`Nginx、Apache`等服务器软件运行站点,站点的根目录配置为`buildadmin`目录,站点运行目录为`buildadmin/public`,无需配置隐藏`index.php`,可以选择配置:[隐藏index.html](https://wonderful-code.gitee.io/guide/install/hideIndex.html)。 \ No newline at end of file -- Gitee