Answer the question
In order to leave comments, you need to log in
How to style nested components in Angular 2+?
Is it possible, is it necessary to create 1 component inside another if one uses the second one as a parent?
P is the main component, A is the parent of components B and C, and Z is the parent of Y and X
Created a project for learning. I'm wondering if there are any rules of good taste in this matter.
Answer the question
In order to leave comments, you need to log in
I usually create all the components in the components folder, but if I use them in several places, something like this:
-components:
-A component
-B component
-C component
-components:
-A component
-B component
-C component
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question