• Resolved wpdesigns20

    (@wpdesigns20)


    Hi, when I activated customizer-unmin.js

    The Customizer does not work,

    Warning: Failed prop type: Invalid prop customizer of type function supplied to BuilderComponent, expected object. in BuilderComponent

    While customizer.js have just 2 warnings

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi,
    I’m not sure what you are asking. If you want to view the customizer javascript source view the customizer/react/src/ folder in theme, you can compile from there if you want to edit something.

    While customizer.js have just 2 warnings

    What warnings?

    Thread Starter wpdesigns20

    (@wpdesigns20)

    Hi,

    I want to view source code of “kadence\assets\js\customizer.js”,
    Which is you already include in “kadence\assets\js\customizer-unmin.js”

    But This source code file “customizer-unmin.js” is not updated.
    Because when I used “customizer-unmin.js” I see the following error.

    Warning: Failed prop type: Invalid prop customizer of type function supplied to BuilderComponent, expected object. in BuilderComponent

    Do you have Developer Documentation for the developers ?

    • This reply was modified 5 years, 3 months ago by wpdesigns20.

    But This source code file “customizer-unmin.js” is not updated.

    I just want to clarify, that is not the source code, that is an unminified but still compiled file. It’s basically meaningless. To view the source you need to look at the customizer/react/src/ folder in theme.

    Do you have Developer Documentation for the developers ?

    Not the kind of documentation that would cover the react/Gutenberg components used for the customizer. I suggest if your looking to learn to start with the gutenberg docs and tutorials.

    Ben

    Thread Starter wpdesigns20

    (@wpdesigns20)

    Thank you Ben,
    I understand now, it is compiled version.

    I’m new to wordpress.

    Thanks again
    Cris

    Thread Starter wpdesigns20

    (@wpdesigns20)

    Hey,

    Last Question, Where’s package.json and web.config file like twentytwentyone theme.

    Hi,
    I’ve included those in the latest update.
    Ben

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘customzer js error’ is closed to new replies.