I’m new to Ionic and vscode so I started a new project of ionic in vscode. For testing purposes, I renamed HomePage to AccountPage - all references were changed as expected. I also renamed Home folder + 3 files (ts/html/css) to account and their references in the code.
I then changed Home to Account in account.html
> <ion-header> > <ion-navbar> > <ion-title>Account</ion-title> > </ion-navbar> > </ion-header>
and in tabs.html
> <ion-tabs> > <ion-tab [root]="tab1Root" tabTitle="Account" tabIcon="home"></ion-tab> > <ion-tab [root]="tab2Root" tabTitle="About" tabIcon="information-circle"></ion-tab> > <ion-tab [root]="tab3Root" tabTitle="Contact" tabIcon="contacts"></ion-tab> > </ion-tabs>
The only error I see is in account.ts under
[Angular] Component ‘AccountPage’ is not included in a module and will not be available inside a template. Consider adding it to a NgModule declaration
and I’m not sure what to do with it because there are no more Home references anywhere in the code. Also, when running the app, it works with no error except for the fact that I still see Home in the app (browser) instead of Account. What am I missing? Thanks