Customization folder

Hi,

i try to find the recommended place to create the customization folder if i want to use shadowing of the Volto core package. In my project i tried to change the footer which is located in

frontend/core/packages/volto/src/components/theme/Footer/Footer.jsx

I understood i have to create a new file using shadowing at this location

frontend/core/packages/volto/src/customizations/components/theme/Footer/Footer.jsx

As long core is excluded in .gitignore my customizations will not be pushed to git. I can ensure the customizations folder will be included or i selected the wrong location to store my customizations. What's the official location for this files?

I think customizations to Volto should be done in add-ons, which I think would avoid this issue.

Thanks for that hint, creating this file in my project package directory works as expected.

frontend/packages/<project-package>/src/customizations/components/theme/Footer/Footer.jsx
1 Like