next-drupal icon indicating copy to clipboard operation
next-drupal copied to clipboard

Headless view not showing for the canonical page

Open boazpoolman opened this issue 4 months ago • 0 comments

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:

  1. Start a fresh Drupal 11 project
  2. Follow the installation guide for setting up next-drupal
  3. Add a front-end site on /admin/config/services/next
  4. Add an entity type on /admin/config/services/next/entity-types
  5. Configure draft mode for that entity type with the site resolver plugin and select your newly created frontend site
  6. Create a piece of content of that entity type
  7. Go to the "View" tab
  8. See that there is no headless view

Additional context

Add any other context about the problem here.

boazpoolman avatar Jun 25 '25 14:06 boazpoolman