Thanks @anna_liebt , @arnhrwd , @indraraj26
So I’ve added in app.module.ts
the import:
import { SomeThingComponent } from './some-thing/some-thing.component';
the declaration and schema into NgModule
@NgModule({
declarations: [AppComponent, SomeThingComponent],
entryComponents: [],
imports: [
BrowserModule,
IonicModule.forRoot(),
AppRoutingModule
],
providers: [
StatusBar,
SplashScreen,
{ provide: RouteReuseStrategy, useClass: IonicRouteStrategy }
],
bootstrap: [AppComponent],
schemas: [
CUSTOM_ELEMENTS_SCHEMA
]
})
and then the <some-thing></some-thing>
element in the app.component.html
Good news: No errors yayz
Bad news: <some-thing></some-thing>
is rendering as an empty element, the component html (which is a button) is not rendering (!)
What in the…