Add polyfill in client & index

This commit is contained in:
Sébastien Chopin 2016-12-31 12:33:51 +01:00
parent 99bfac25aa
commit 0b58637a09
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,7 @@
'use strict'
require('es6-object-assign').polyfill()
import 'es6-promise/auto'
import Vue from 'vue'
import { app, router<%= (store ? ', store' : '') %> } from './index'
import { getMatchedComponents, getMatchedComponentsInstances, flatMapComponents, getContext, promisify, getLocation, compile } from './utils'

View File

@ -1,7 +1,6 @@
'use strict'
require('es6-object-assign').polyfill()
import 'es6-promise/auto'
import Vue from 'vue'
import Meta from 'vue-meta'
import router from './router.js'