next-drupal
next-drupal copied to clipboard
Headless view not showing for the canonical page
Package containing the bug
next (Drupal module)
Describe the bug
I'm trying to use the Route Syncing feature, but I noticed that only the node revisions will get the Next.js headless view.
Expected behavior
I would expect that also the canonical page - aka the current revision - get's the headless view.
Steps to reproduce:
- Start a fresh Drupal 11 project
- Follow the installation guide for setting up
next-drupal - Add a front-end site on
/admin/config/services/next - Add an entity type on
/admin/config/services/next/entity-types - Configure draft mode for that entity type with the site resolver plugin and select your newly created frontend site
- Create a piece of content of that entity type
- Go to the "View" tab
- See that there is no headless view
Additional context
Add any other context about the problem here.