I want to create my own tag. and i get this error
‘app-temp’ is not a known element:
1. If ‘app-temp’ is an Angular component, then verify that it is part of this module.
2. If ‘app-temp’ is a Web Component then add ‘CUSTOM_ELEMENTS_SCHEMA’ to the ‘@NgModule.schemas’ of this component to suppress this message.
1-) Created Component with ionic generate component components/temp
2-) added in app.module.ts
@NgModule({
declarations: [AppComponent, TempComponent],
*
*
3-) used <app-temp></app-temp>
o any page in app
Could you help me with this solution ??
‘app-temp’ is not a known element:
1. If ‘app-temp’ is an Angular component, then verify that it is part of this module.
2. If ‘app-temp’ is a Web Component then add ‘CUSTOM_ELEMENTS_SCHEMA’ to the ‘@NgModule.schemas’ of this component to suppress this message.