From d6948b865fcdf61cc7b79bd50765f3c4b3abccf7 Mon Sep 17 00:00:00 2001 From: haoziqaq <357229046@qq.com> Date: Tue, 6 Apr 2021 15:00:17 +0800 Subject: [PATCH] =?UTF-8?q?fix(ui/package.json):=20=E5=A2=9E=E5=8A=A0@babe?= =?UTF-8?q?l/runtime=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit affects: @varlet/ui --- packages/varlet-ui/docs/quickstart.zh-CN.md | 3 +++ packages/varlet-ui/package.json | 1 + yarn.lock | 7 +++++++ 3 files changed, 11 insertions(+) diff --git a/packages/varlet-ui/docs/quickstart.zh-CN.md b/packages/varlet-ui/docs/quickstart.zh-CN.md index 7661523f53a..dbb0a27a822 100644 --- a/packages/varlet-ui/docs/quickstart.zh-CN.md +++ b/packages/varlet-ui/docs/quickstart.zh-CN.md @@ -32,6 +32,9 @@ yarn add @varlet/ui ```js import Vue from 'vue' +import App from './App.vue' import Varlet from '@varlet/ui' +import '@varlet/ui/es/style' +createApp(App).use(Varlet).mount('#app') ``` \ No newline at end of file diff --git a/packages/varlet-ui/package.json b/packages/varlet-ui/package.json index c0a505bc78e..7c75d4cb8ca 100644 --- a/packages/varlet-ui/package.json +++ b/packages/varlet-ui/package.json @@ -46,6 +46,7 @@ }, "gitHead": "04cbbd571a061f5d5651515132a8ef079de5673e", "dependencies": { + "@babel/runtime": "^7.13.10", "@varlet/icons": "^0.9.0", "dayjs": "^1.10.4", "decimal.js": "^10.2.1" diff --git a/yarn.lock b/yarn.lock index 752382c0fc4..1c780faeb6e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1021,6 +1021,13 @@ dependencies: regenerator-runtime "^0.13.4" +"@babel/runtime@^7.13.10": + version "7.13.10" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.13.10.tgz#47d42a57b6095f4468da440388fdbad8bebf0d7d" + integrity sha512-4QPkjJq6Ns3V/RgpEahRk+AGfL0eO6RHHtTWoNNr5mO49G6B5+X6d6THgWEAvTrznU5xYpbAlVKRYcsCgh/Akw== + dependencies: + regenerator-runtime "^0.13.4" + "@babel/template@^7.10.4", "@babel/template@^7.3.3": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.10.4.tgz#3251996c4200ebc71d1a8fc405fba940f36ba278"