From c4c85f23edfca50fe8b58c8fe54cf2115848008b Mon Sep 17 00:00:00 2001 From: Graham Fairweather Date: Mon, 26 Feb 2018 08:32:56 +0100 Subject: [PATCH] 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. --- examples/main.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/main.js b/examples/main.js index 1941c516..9d7c0e26 100644 --- a/examples/main.js +++ b/examples/main.js @@ -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 });