# Internationalization

Chinese is used by default in the v-easy-components component. We only provide Chinese and English at present. For example, in main.js:

import Vue from 'vue'
import VEasy from 'v-easy-components'
import locale from 'v-easy-components/src/locale/en'

Vue.use(VEasy, { locale });

new Vue({
render: h => h(App)

# Load language files by CDN

<script src="//unpkg.com/vue"></script>
<script src="//unpkg.com/v-easy-components"></script>
<script src="//unpkg.com/v-easy-components/src/locale/en.js"></script>


# Currently VEasy has the following built-in languages:

  • English
  • Chinese