-[Mint UI](https://github.com/ElemeFE/mint-ui) - Mobile UI elements for Vue.js
## Install
## Install
```shell
```shell
...
@@ -79,17 +89,6 @@ Skip this part if you just want to use Element.
...
@@ -79,17 +89,6 @@ Skip this part if you just want to use Element.
For those who are interested in contributing to Element, please refer to our [contributing guide](https://github.com/ElemeFE/element/blob/master/.github/CONTRIBUTING.md) to see how to run this project.
For those who are interested in contributing to Element, please refer to our [contributing guide](https://github.com/ElemeFE/element/blob/master/.github/CONTRIBUTING.md) to see how to run this project.
The default language of Element is Chinese. If you wish to use another language, you'll need to do some i18n configuration. In your entry file, if you are importing Element entirely:
```javascript
importVuefrom'vue'
importElementUIfrom'element-ui'
importlocalefrom'element-ui/lib/locale/lang/en'
Vue.use(ElementUI,{locale})
```
Or if you are importing Element on demand:
```javascript
importVuefrom'vue'
import{Button,Select}from'element-ui'
importlangfrom'element-ui/lib/locale/lang/en'
importlocalefrom'element-ui/lib/locale'
// configure language
locale.use(lang)
// import components
Vue.component(Button.name,Button)
Vue.component(Select.name,Select)
```
The Chinese language pack is imported by default, even if you're using another language. But with `IgnorePlugin` provided by webpack you can ignore it when building:
Currently Element ships with the following languages:
- Chinese
- English
- German
If your target language is not included, you are more than welcome to contribute: just add another language config [here](https://github.com/ElemeFE/element/tree/master/src/locale/lang) and create a pull request.