i use the latest strapi v4 version. can i add component to a content-type inside strapi plugin? how can i do that?
The easiest way to do this. Is to create the content type using the GUI as a standard content type.
Then copy the schema that’s generated to your plugin schema.
This will teach you the format of components in the schema and you’ll never need to use the GUI to do it again!
But the content types you create in a plugin are idential to the core content types available to you in the content type manager.