-
-
Notifications
You must be signed in to change notification settings - Fork 726
Closed
Description
Environment
- Operating System:
Linux - Node Version:
v16.15.0 - Nuxt Version:
3.0.0-rc.4 - Package Manager:
[email protected] - Builder:
vite - User Config:
css,build,typescript,modules,components - Runtime Modules:
@nuxt/[email protected],unplugin-icons/nuxt - Build Modules:
-
Reproduction
https://stackblitz.com/edit/github-jdzmbl?file=components/Feed.vue
- Open stackblitz
- There are generated .output by
npm run generate. I don't know how to execute the generation command in stackblits, so I generated the files locally and put them in the project. You should get the same result by regenerating. - Run
npm run preview - On
/path you should see valid JSON array with content. But on subpath you should see HTML instead JSON
Describe the bug
I have several pages to display the content. In the desktop, the filtered JSON is displayed correctly on each page. However, after generating the site, HTML is returned instead of JSON
Additional context
No response
Logs
No response
benoitdemaegdt
Metadata
Metadata
Assignees
Labels
No labels