Skip to content

Content API giving 404 on generate build #2062

Open
@Tragio

Description

@Tragio

Environment

  • Operating System: Darwin
  • Node Version: v16.18.0
  • Nuxt Version: 3.4.3
  • Nitro Version: 2.4.0
  • Package Manager: [email protected]
  • Builder: vite
  • User Config: modules
  • Runtime Modules: @nuxt/[email protected]
  • Build Modules: -

Reproduction

https://github.com/Tragio/nuxt-content-repro

yarn generate && yarn preview first selects works, and subsequent selects return 404.

yarn dev / yarn build works just fine.

Describe the bug

Nuxt Content with filter works just fine on dev, but as soon I generate the build it stops working properly.

CleanShot 2023-05-10 at 12 41 17

Already tried all solutions provided here: #1798

Additional context

No response

Logs

No response

CC: @farnabaz

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions