ionic-stepper
ionic-stepper copied to clipboard
ion-step is not a known element !
after downloading the lib and register in the app.module.ts ..adding the stepper display error in the console saying that ion-step is not a known alement ....
here is the console output
'ion-step' is not a known element:
-
If 'ion-step' is an Angular component, then verify that it is part of this module.
-
If 'ion-step' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("
<ion-stepper #stepper (selectIndexChange)="selectChange($event)"> [ERROR ->]<ion-step label="Step1" description="Step1 description"> <h2>Step1 Co"): ng:///QuestionModuleModule/QuestionPage.html@38:10
'ion-step' is not a known element:
- If 'ion-step' is an Angular component, then verify that it is part of this module.
- If 'ion-step' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. (" <button ion-button small ionicStepperNext>Next
[ERROR ->]
"): ng:///QuestionModule/QuestionPage.html@44:10 'ion-stepper' is not a known element: - If 'ion-stepper' is an Angular component, then verify that it is part of this module.
- If 'ion-stepper' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("