registerComponent deprecated

What are you trying to accomplish
I am using the beta SDK, and all the Custom components are being registered using registercomponent as shown the in the documentation, but I keep seeing the following warning about it being deprecated.
registerComponent is deprecated. Use the customComponents prop in RenderContent instead to provide your custom components to the builder SDK.

However, I can’t find any documentation about the method or how it is used.

Code stack you are integrating Builder with
Nuxt 2

Reproducible code example
If you are having integration errors, please link to codesandbox or copy and paste your problematic code here. The more detail the better!

You can find an example for this in our docs here under “Registering your component”: Registering Custom Components -

Here is another example for Nuxt 2 from our GitHub: builder/DynamicallyRenderBuilderPage.vue at f50b0d3cf54e83e75dfe3242e7153aeada58089e · BuilderIO/builder · GitHub

Please let me know if this doesn’t answer your question.

1 Like