You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems like the styles of components are nvere loaded. Did not find any code in components.js that would load styles. Only loads the views...
App.prototype.component=function(viewName,constructor){if(typeofviewName==='function'){constructor=viewName;viewName=null;}// Inherit from ComponentextendComponent(constructor);// Load template view from filenameif(constructor.prototype.view){varviewFilename=constructor.prototype.view;viewName=constructor.prototype.name||path.basename(viewFilename,'.html');this.loadViews(viewFilename,viewName);}elseif(!viewName){if(constructor.prototype.name){viewName=constructor.prototype.name;varview=this.views.register(viewName);view.template=templates.emptyTemplate;}else{thrownewError('No view name specified for component');}}
// Associate the appropriate view with the component typevarview=this.views.find(viewName);if(!view){varmessage=this.views.findErrorMessage(viewName);thrownewError(message);}view.componentFactory=createFactory(constructor);// Make chainablereturnthis;};
The text was updated successfully, but these errors were encountered:
Seems like the styles of components are nvere loaded. Did not find any code in components.js that would load styles. Only loads the views...
Adding this here seems to do the job...
then continue with components.js
The text was updated successfully, but these errors were encountered: