DEV Community

Cover image for Add loading of components definitions inside Strapi plugin - pull request
Klaudia Jaszczak
Klaudia Jaszczak

Posted on

3 1

Add loading of components definitions inside Strapi plugin - pull request

Hi ๐Ÿ‘‹,
for people interested in creating their own plugins for @strapijs - I created the Pull Request on GitHub. ๐ŸŽ‡
The PR is about allowing plugin creator to declare his own custom content type components inside plugin. This will open new doors for plugin creators.

In short:

What does it do?
I have added loading of components definitions from Strapi plugins. It allows loading components from plugin/server/components folder.
It allows components to be overwritten by local components, when editing in content-type manager.
It will prefix components categories defined inside the plugin with either plugin name or componentsPrefix (if defined in plugin package.json).

How to test it?
I have modified the examples/getstarted to make use of the components defined in plugin as well as added a content-type that makes full use of newly defined components.

I and @jaszczw will be actively supporting the PR. ๐Ÿคž
We need the PR merged to complete one of our projects. ๐Ÿ’ก

Find out more here: https://github.com/strapi/strapi/pull/12965

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where youโ€™ll build it, break it, debug it, and fix it. Youโ€™ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good olโ€™ AI to find and fix issues fast.

RSVP here โ†’

Top comments (0)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

๐Ÿ‘‹ Kindness is contagious

Please leave a โค๏ธ or a friendly comment on this post if you found it helpful!

Okay