ERROR compiling release prod android

file tabnuevasucursal.html
content: only 2 lines

appears with a red underline ( using VisualCode )

when compile

Error: Template parse errors:
‘ion-content’ is not a known element:

  1. If ‘ion-content’ is an Angular component, then verify that it is part of this module.
  2. If ‘ion-content’ is a Web Component then add ‘CUSTOM_ELEMENTS_SCHEMA’ to the ‘@NgModule.schemas’ of this component to suppress this message. ("[ERROR ->]

"): ng:///F:/xxxx/source/ionic/xxxx/src/components/tabnuevasucursal/tabnuevasucursal.html@0:0

If you put components into separate modules, and they reference ionic components, you must import IonicModule into their module.

1 Like

thanks you so much.
I have 2 weeks with Ionic and still trying to learn.

I realize in the components folder there is a components.module.ts.

Have a nice day.