remove console.log

This commit is contained in:
Sébastien Chopin 2016-12-19 20:17:52 +01:00
parent 8b44294858
commit 8eb6b5e3b6

View File

@ -24,7 +24,6 @@ function loadAsyncComponents (to, ___, next) {
if (typeof Component === 'function' && !Component.options) {
return new Promise(function (resolve, reject) {
const _resolve = (Component) => {
// console.log('Component loaded', Component, match.path, key)
if (!Component.options) {
Component = Vue.extend(Component) // fix issue #6
Component._Ctor = Component
@ -61,7 +60,6 @@ function render (to, from, next) {
this.error({ statusCode: 404, message: 'This page could not be found.', url: to.path })
return next()
}
// console.log('Load components', Components, to.path)
// Update ._data and other properties if hot reloaded
Components.forEach(function (Component) {
if (!Component._data) {