Commit ebb3915977fc5eae7c28332b6a6b0b0d87601d69

Authored by Aresn
Committed by GitHub
2 parents 4c38183e c4c85f23

Merge pull request #3047 from Xotic750/use_babel_polyfill_in_examples

Use babel-polyfill for testing examples
Showing 1 changed file with 3 additions and 2 deletions   Show diff stats
examples/main.js
1 1 /**
2 2 * Created by aresn on 16/6/20.
3 3 */
  4 +import 'babel-polyfill';
4 5 import Vue from 'vue';
5 6 import VueRouter from 'vue-router';
6 7 import App from './app.vue';
7 8 import iView from '../src/index';
8   -// import locale from '../src/locale/lang/en-US';
9   -import locale from '../src/locale/lang/zh-CN';
  9 +import locale from '../src/locale/lang/en-US';
  10 +// import locale from '../src/locale/lang/zh-CN';
10 11  
11 12 Vue.use(VueRouter);
12 13 Vue.use(iView, { locale });
... ...