Hello Guys,
I’ trying to create a custom Component as a repetitiv header for most of my pages.
So I used this command:
ionic g component profile-header
This folder got generated:
Somhow I can’t figure out how to use this component somewhere else now.
I call the component in another html like this:
<profile-header></profile-header>
I tried all kind of possibilites like importing components.module to app.module…importing ProfileHeaderComponent to the new page… but nothing worked
Most of the time I get this error:
I’m thankfull for any suggestions!
EDIT
Solved it by myself…