From 3e27b93351509933f2d70ff5dde66c5d965bfbd4 Mon Sep 17 00:00:00 2001 From: neverland Date: Thu, 24 Jan 2019 21:40:17 +0800 Subject: [PATCH] [new feature] Icon: add more icons (#2604) --- package.json | 2 +- packages/icon/demo/index.vue | 7 ++++++- yarn.lock | 8 ++++---- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 528254f46..556c25e7c 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "license": "MIT", "dependencies": { "@babel/runtime": "^7.1.5", - "@vant/icons": "1.0.7", + "@vant/icons": "1.0.8", "@vue/babel-helper-vue-jsx-merge-props": "^1.0.0-beta.2", "vue-lazyload": "1.2.3" }, diff --git a/packages/icon/demo/index.vue b/packages/icon/demo/index.vue index ecc04807b..9be745fe7 100644 --- a/packages/icon/demo/index.vue +++ b/packages/icon/demo/index.vue @@ -3,6 +3,7 @@ import icons from '@vant/icons'; +import { BLUE } from '../../utils/color'; export default { i18n: { @@ -56,6 +58,7 @@ export default { }, data() { + this.BLUE = BLUE; this.icons = icons; return { tab: 0 @@ -65,6 +68,8 @@ export default {