From 3140ae3e1244c820b8efef54878c7c9941e2013a Mon Sep 17 00:00:00 2001 From: wangxueliang Date: Mon, 27 Apr 2020 16:54:17 +0800 Subject: [PATCH] fix: error lang is en_US #10 --- generator/templates/src/plugins/ant-design-vue.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/generator/templates/src/plugins/ant-design-vue.js b/generator/templates/src/plugins/ant-design-vue.js index 8a45dfb..3cf9c42 100644 --- a/generator/templates/src/plugins/ant-design-vue.js +++ b/generator/templates/src/plugins/ant-design-vue.js @@ -11,8 +11,8 @@ Vue.use(Antd) import { Pagination, Button } from 'ant-design-vue' <%_ if (options.lang !== 'en_US') { _%> import { LocaleProvider } from 'ant-design-vue' -<%_ } _%> Vue.component(LocaleProvider.name, LocaleProvider) +<%_ } _%> Vue.component(Pagination.name, Pagination) Vue.component(Button.name, Button) <%_ } _%> diff --git a/package.json b/package.json index 1723243..eac096d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-cli-plugin-ant-design", - "version": "1.0.0", + "version": "1.0.1", "description": "vue-cli 3 plugin to add ant-design-vue", "main": "index.js", "scripts": {