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:
@@ -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')
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user