Facebook
From Whipped Anoa, 4 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 241
  1. [Vue warn]: Failed to resolve async component: function() {
  2.  
  3.                         return new Component(name).load(url)
  4.                         .then(function(component) {
  5.  
  6.                                 return component.normalize();
  7.                         })
  8.                         .then(function(component) {
  9.  
  10.                                 return component.compile();
  11.                         })
  12.                         .then(function(component) {
  13.  
  14.                                 var exports = component.script !== null ? component.script.module.exports : {};
  15.  
  16.                                 if ( component.template !== null )
  17.                                         exports.template = component.template.getContent();
  18.  
  19.                                 if ( exports.name === undefined )
  20.                                         if ( component.name !== undefined )
  21.                                                 exports.name = component.name;
  22.  
  23.                                 exports._baseURI = component.baseURI;
  24.  
  25.                                 return exports;
  26.                         });
  27.                 }
  28. Reason: SyntaxError: Syntax error