Step 1:
If you go to your application, move to the file under sitecore -> definitions -> placeholders.sitecore.js and add a new entry for a placeholder.
New Placeholder Name - jss-content
Step 2:
If you go to your application, move to the file under src -> Layout.js and add a new entry for a placeholder.
New Placeholder Name - jss-content.
Step 3:
You can add placholder name in package.json file.
add the config --> rootPlaceholders --> Placeholdername.
Step 4:
You can Add the component with field values in page
file name --> en.yml
Step 5:
Now after deployment you can open the page and once you add your component, you can find these placeholders.
K.Rajavalli
Fullstack Developer
🎶🚴♂️🌈
I'm Rajavalli, a full-stack developer specializing in React and Sitecore. Passionate about crafting exceptional solutions, I focus on client success by continuously learning and staying ahead of the curve. Let's collaborate and create something extraordinary together!