I encounter a problem with html not being copied to the build directory. I generated a new application with the ionic command, which runs perfectly. Then I changed the ‘app.component.ts’ from template to templateUrl as follows:
templateUrl: ‘build/app.component.html’
//template: <ion-nav [root]="rootPage"></ion-nav>
And add an app.component.html, containing the ion-nav tag. After this change the project no longer builds correctly, mentioning that app.component.html can’t be found in the build directory.
How can I correctly use the templateUrl and split my html from my typescript?