Data of components are visible in HomePage, but not in SubPages when including component using data-sly-resource. Any idea?
Please see the documentation on data elements here. Specifically, the section on persistence for data elements might help if you are only seeing the value of the data element on the home page and not on subpages.
Please let us know if you have further questions.
Can you give us more info around your question? I'm not sure I understand what you're asking. Are you referring to a data element being available on the home page but not on other pages?