#Issues rendering ionic component in Angular

2 messages · Page 1 of 1 (latest)

hidden jacinth
#

This is my story decorators configuration. This is the error that I am seeing: NG0304: 'ion-button' is not a known element

The story is being recognized, but it is not displaying--when I inspect, I get the error mentioned above.

            providers: [importProvidersFrom([IonicModule.forRoot(
                {
                    backButtonText: '',
                    backButtonIcon: 'chevron-back-outline',
                    animated: true,
                    rippleEffect: true,
                    mode: 'md',
                }
            )])],
        }),
        moduleMetadata({
            declarations: [BackButtonComponent],
            imports: [ComponentsModule, AppModule],
            schemas: [CUSTOM_ELEMENTS_SCHEMA]
        }),```
sinful wind
#

Can you make a repro? I tried to reproduce the error and I don't get it, but I don't know enough about your code to reproduce what your code is doing.