Skip to content

Commit

Permalink
fix: error lang is en_US #10
Browse files Browse the repository at this point in the history
  • Loading branch information
wangxueliang committed Apr 27, 2020
1 parent 915ce1c commit 3140ae3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion generator/templates/src/plugins/ant-design-vue.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
<%_ } _%>
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit 3140ae3

Please sign in to comment.