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:
parent
899ad697b0
commit
c4c85f23ed
1 changed files with 3 additions and 2 deletions
|
@ -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 });
|
||||
|
|
Loading…
Add table
Reference in a new issue