Skip to content

feat: pass view mode through content template page fetches - #7

Open
harumijang wants to merge 2 commits into
mainfrom
support-view-mode
Open

feat: pass view mode through content template page fetches#7
harumijang wants to merge 2 commits into
mainfrom
support-view-mode

Conversation

@harumijang

@harumijang harumijang commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Forward viewMode parameter through the headless templates so the headless app can render content-template view modes, such as teaser.

Example: http://localhost:3000/node/2?viewMode=teaser

⚠️ Needs https://git.drupalcode.org/project/canvas/-/merge_requests/1560 to be merged first

@harumijang harumijang changed the title feat: pass viewMode through content template page fetches feat: pass view mode through content template page fetches Aug 25, 2026
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