How to add Component data type to a plugin?

Hello everyone, how i can create a component inside a Plugin, i am working on Newsletter Plugin and this plugin creates a Newsletter Model, but i want to add component which is used by this Model which is located in the Plugin folder?!

1 Like