From c2d2c03d889a10a3ec1db8a9791f319bbb7bb3e1 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Sun, 16 Oct 2016 20:40:14 +0200 Subject: [PATCH] Clarify example by removing Vue.util.extend --- examples/auth-flow/app.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/examples/auth-flow/app.js b/examples/auth-flow/app.js index ac55ea62e..b606485a1 100644 --- a/examples/auth-flow/app.js +++ b/examples/auth-flow/app.js @@ -36,4 +36,10 @@ const router = new VueRouter({ ] }) -new Vue(Vue.util.extend({ router }, App)).$mount('#app') +/* eslint-disable no-new */ +new Vue({ + el: '#app', + router, + // replace the content of
with App + render: h => h(App) +})