Expand my Community achievements bar.

Possible to use components in sub-folders of the components directory?

Avatar

Level 2

Is it possible to use components in sub-folders of the components directory? /apps/site/components/newComponents/sampleComponent

When I try to drop a component that is located anywhere other than directly in the components folder (/apps/site/components/sampleComponent), it causes the browser tab to lock-up and the page will continue to lock up until I remove the component from the par on that page using crxde.

2 Replies

Avatar

Level 10

Why would you want to nest components - there is no benefit. Always place your components at the components root folder. 

Avatar

Level 9

Hi Geoffrey,

       it is possible. For an out of the box sample refer /libs/foundation/components/parsys where parsys is components inside it have 2 components new & column control.

Thanks,