How did you name the Component.js and your router in your files? I think it should be:
jQuery,sap.declare("sap.ui.demo.Component");
sap.ui.core.UIComponent.extend("sap.ui.demo.Component", {
//class comes here
}
Same for the router.
How did you name the Component.js and your router in your files? I think it should be:
jQuery,sap.declare("sap.ui.demo.Component");
sap.ui.core.UIComponent.extend("sap.ui.demo.Component", {
//class comes here
}
Same for the router.