How to use the veui/managers/i18n.locale function in veui

To help you get started, we’ve selected a few veui examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ecomfe / veui / packages / veui / demo / main.js View on Github external
import Vue from 'vue'
import App from './App'
import router from './router'
import 'classlist-polyfill'
import 'focus-visible'
import 'svg-innerhtml'
import i18n from 'veui/managers/i18n'

i18n.locale = 'en-US'

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  name: 'app',
  router,
  render: h => h(App)
})
github ecomfe / veui / packages / veui / demo / main.js View on Github external
import 'classlist-polyfill'
import 'focus-visible'
import 'promise-polyfill/src/polyfill'

import Vue from 'vue'
import App from './App'
import router from './router'
import i18n from 'veui/managers/i18n'

i18n.locale = 'en-US'

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  name: 'app',
  router,
  render: h => h(App)
})