Commit 9394d976 authored by Evan You's avatar Evan You

avoid using Vue.util.extend

parent 0911e5f7
......@@ -17,10 +17,11 @@ Object.keys(filters).forEach(key => {
// create the app instance.
// here we inject the router and store to all child components,
// making them available everywhere as `this.$router` and `this.$store`.
const app = new Vue(Vue.util.extend({
const app = new Vue({
router,
store
}, App))
store,
...App
})
// expose the app, the router and the store.
// note we are not mounting the app here, since bootstrapping will be
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment