2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-01 21:24:04 +03:00

use object-assign ponyfill

This commit is contained in:
Declan de Wet
2016-11-08 13:17:10 +02:00
parent 1e235425d7
commit fa290273df
5 changed files with 10 additions and 5 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
import assign from 'object-assign'
import Vue from 'vue'
import VueMeta from 'vue-meta'
import Router from 'vue-router'
@@ -51,6 +52,6 @@ const App = {
`
}
const app = new Vue(Object.assign(App, { router }))
const app = new Vue(assign(App, { router }))
app.$mount('#app')
+2 -1
View File
@@ -1,8 +1,9 @@
import assign from 'object-assign'
import Vue from 'vue'
import store from './store'
import router from './router'
import App from './App.vue'
const app = new Vue(Object.assign(App, { router, store }))
const app = new Vue(assign(App, { router, store }))
app.$mount('#app')