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

Image of Timescale

πŸš€ pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applicationsβ€”without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post β†’

Top comments (0)