Hey folks,
once I try to run ‘ionic build --prod’ I get this error message “‘ion-router-link’ is not a known element” - missing import in app.module.ts?
The normal ionic serve works fine.
Thanks in advance,
Oliver
Hey folks,
once I try to run ‘ionic build --prod’ I get this error message “‘ion-router-link’ is not a known element” - missing import in app.module.ts?
The normal ionic serve works fine.
Thanks in advance,
Oliver
Verify that it is part of the module where it’s being used. it’s missing in the Imports section
@NgModule({
imports: [
RouterModule
I will try this! Thanks!