From ca084094886f182131abbc6e06f832bec6bd9c11 Mon Sep 17 00:00:00 2001 From: chencc Date: Fri, 11 Dec 2020 09:51:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=96=87=E6=A1=A3=E5=BF=AB?= =?UTF-8?q?=E9=80=9F=E5=BC=80=E5=A7=8B=E9=80=82=E9=85=8D=E6=96=B0=E7=89=88?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E5=BC=80=E5=8F=91=E8=80=85=E5=B7=A5?= =?UTF-8?q?=E5=85=B7=20(#3836)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 目前新版开发者工具创建的小程序目录文件结构问题,npm构建的文件目录为miniprogram_npm,并且开发工具会默认在当前目录下创建miniprogram_npm的文件名,所以新版本的miniprogramNpmDistDir配置为'./'即可 --- docs/markdown/quickstart.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/markdown/quickstart.md b/docs/markdown/quickstart.md index 8be2c189..e006b1e5 100644 --- a/docs/markdown/quickstart.md +++ b/docs/markdown/quickstart.md @@ -46,6 +46,7 @@ npm i vant-weapp -S --production } } ``` +注意: 由于目前新版开发者工具创建的小程序目录文件结构问题,npm构建的文件目录为miniprogram_npm,并且开发工具会默认在当前目录下创建miniprogram_npm的文件名,所以新版本的miniprogramNpmDistDir配置为'./'即可 ### 步骤四 构建 npm 包