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) +})