Explorar el Código

Включил русский язык

Book Pauk hace 6 años
padre
commit
86e4c8013a
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      client/main.js

+ 2 - 1
client/main.js

@@ -2,11 +2,12 @@ import Vue from 'vue';
 import App from './components/App.vue';
 import ElementUI from 'element-ui';
 import 'element-ui/lib/theme-chalk/index.css';
+import locale from 'element-ui/lib/locale/lang/ru-RU';
 import store from './store';
 
 //Vue.config.productionTip = false;
 
-Vue.use(ElementUI);
+Vue.use(ElementUI, { locale });
 
 new Vue({
     store,