As a developer,
I want my placeholder to be rendered in sitecore,
so that I can add more components inside

First of all, in disconnected mode, everything is fine:

1 - I have a placeholder named : PH__fullscreen-hero inside my component:

fullscreen-hero.vue

2 - I added data to my en.json:

en.json

3 - In local mode, everything is fine:

local

4 - Then after : jss deploy package -c -d

5 - in connected mode in my sitecore all placeholders are created nevertheless PH__fullscreen-hero doesn't render in the DOM in Experience Editor... :

enter image description here

Did I forget something ? Thanks!

closed as off-topic by Richard Seal May 25 at 17:41

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question was caused by a problem that can no longer be reproduced or a simple typographical error. While similar questions may be on-topic here, this one was resolved in a manner unlikely to help future readers. This can often be avoided by identifying and closely inspecting the shortest program necessary to reproduce the problem before posting." – Richard Seal
If this question can be reworded to fit the rules in the help center, please edit the question.

Solution:

I forgot to include Placeholder in \sitecore\definitions\components\FullscreenHero.sitecore.js

enter image description here

Not the answer you're looking for? Browse other questions tagged or ask your own question.