I am currently working with a folder structure that contains both my button and card components:
https://i.sstatic.net/fNa0t.png
To organize my components, I created a components.module.ts file and placed all my components in it. Then, I imported it into my app.module.ts like this:
https://i.sstatic.net/aYom0.png
https://i.sstatic.net/xiLTt.png
However, I encountered an issue when trying to use the ButtonComponent inside the CardComponent using its selector ( app-button ), as the component is not rendered. Why could this be happening?
For reference, here are the contents of button.component.ts and card.component.html: