Import custom Components? Please help!

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:


I tried all kind of possibilites like importing components.module to app.module…importing ProfileHeaderComponent to the new page… but nothing worked :confused:

Most of the time I get this error:

I’m thankfull for any suggestions!

Solved it by myself…

I’ve got the same problem … how did you solve this kind of problem?