Adding Ionic Components

Hello.
I am trying to have a default segment active in my app. I referred other threads and the solution seems to be be doing some changes in the segment js present in the components folder.

But I don’t have any segment file inside the component folder. I have been just typing the code in the html pages to add the component.

Have I been doing it wrong? Or is there any way to add it?

Thanks for you help.

Could you link to these “other threads”? Right now I don’t really know what you are talking about.