Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: example Dynamic Content #426

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

eduardoformiga
Copy link
Member

@eduardoformiga eduardoformiga commented Apr 22, 2024

What's the purpose of this pull request?

Dynamic Content is a feature that gives more flexibility to customize the store. This feature enables server-side data-fetching on pages like Homepage and Landing Pages (LP) using FastStore and the headless CMS (hCMS). The data is fetched and can be used in sections. Thus, enhances performance, as well as aspects such as SEO for these pages.

This PR has some examples of Dynamic Content feature.

more information here.

Check the reference links.

FastStore PR

how to test it?

  • Change the vendemo account in the config file.
  • add CallToAction and FixedImageHero in the homepage from hCMS.
  • run this branch locally with yarn dev
  • see the preview from homepage in hCMS.

References

RFCs:
FastStore Dynamic content details
FastStore Dynamic Content & Multiple page templates

Dev portal PR

@eduardoformiga eduardoformiga requested a review from a team as a code owner April 22, 2024 23:15
Copy link

vercel bot commented Apr 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
starter ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 7:45pm

@eduardoformiga eduardoformiga changed the title Feat/dynamic content starter Feat: example Dynamic Content Apr 23, 2024
eduardoformiga added a commit to vtex/faststore that referenced this pull request May 6, 2024
## What's the purpose of this pull request?

Dynamic Content is a feature that gives more flexibility to customize
the store. This feature enables server-side data-fetching on pages like
Homepage and Landing Pages (LP) using FastStore and the headless CMS
(hCMS). The data is fetched and can be used in sections. Thus, enhances
performance, as well as aspects such as SEO for these pages.

This PR enables the dynamic content feature.

more information
[here](https://docs.google.com/document/d/1JooIdqkef53b2XAov9C_pJs-kNLiFWL-9MgebHv3HRQ/edit).

Check the reference links.

## starter PR

- vtex-sites/starter.store#426

## References

RFCs: 
[FastStore Dynamic content
details](https://docs.google.com/document/u/1/d/1w5vMnLgCrkRGRYUCZnD4pjA9_R2kVtAJhX4f_uIjs00/edit)
[FastStore Dynamic Content & Multiple page
templates](https://docs.google.com/document/d/1tfmEJhqVGtIoEunm48nRzTkvqpWqhJLRqRmEvK0dKk0/edit#heading=h.tglo77yl0lf5)


- Initial doc
https://docs.google.com/document/d/1JooIdqkef53b2XAov9C_pJs-kNLiFWL-9MgebHv3HRQ

Dev portal PR
- vtexdocs/dev-portal-content#1095
branch MD preview:
https://github.com/vtexdocs/dev-portal-content/blob/feat/faststore-dynamic-content/docs/faststore/docs/dynamic-content/overview.mdx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant