diff --git a/docs/markdown/quickstart.md b/docs/markdown/quickstart.md index 7c74ef3f..6e6908df 100644 --- a/docs/markdown/quickstart.md +++ b/docs/markdown/quickstart.md @@ -14,6 +14,9 @@ npm i vant-weapp -S --production # 通过 yarn 安装 yarn add vant-weapp --production + +# 安装 1.0-beta 版本 +npm i @vant/weapp -S --production ``` ### 步骤二 构建 npm 包 diff --git a/package.json b/package.json index cafb1e4b..fe1ce98b 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,13 @@ { - "name": "vant-weapp", + "name": "@vant/weapp", "version": "1.0.0-beta.4", "author": "youzan", "license": "MIT", "miniprogram": "dist", "description": "轻量、可靠的小程序 UI 组件库", + "publishConfig": { + "access": "public" + }, "scripts": { "dev": "node build/dev.js", "lint": "eslint ./packages --ext .js,.ts && stylelint \"packages/**/*.less\" --fix",