Use babel-polyfill for testing examples

(Polyfill) This is required when developing with older browser i.e. IE11.

The locale change is because it is really difficult for non-chinese reading/speaking developers to understand what they are seeing on the page when developing this project.
This commit is contained in:
Graham Fairweather 2018-02-26 08:32:56 +01:00
parent 899ad697b0
commit c4c85f23ed

View file

@ -1,12 +1,13 @@
/**
* Created by aresn on 16/6/20.
*/
import 'babel-polyfill';
import Vue from 'vue';
import VueRouter from 'vue-router';
import App from './app.vue';
import iView from '../src/index';
// import locale from '../src/locale/lang/en-US';
import locale from '../src/locale/lang/zh-CN';
import locale from '../src/locale/lang/en-US';
// import locale from '../src/locale/lang/zh-CN';
Vue.use(VueRouter);
Vue.use(iView, { locale });