So I'm new to Ionic and Angular and I had a question regarding internal links within the Ionic framework. So as a learning base I made the pre-made project ionic sidemenu and I'm trying to get an A tag on the home page to be linked (href) to open the list page. However, I cannot figure it out because I keep getting errors.
<a button href="../list/list.html"></a>
But the href isn't working because I think you have to call /list/list as a package with typescript??
Does anyone know the solution?angulartypescriptionic-frameworkionic3
I figured it out! I know I'm answering my own question but just in case anyone else got stuck.
Make sure that the goToOtherPage() function is NOT in the constructor but only the export class in the typescript file.