@nuxtjs/content
See original GitHub issueWhen I use https://content.nuxtjs.org/ in my build. I get a 404 for the fetch.
When I run npm run build
and npm run start
locally it works fine.
Any Idea why it might not work?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:10 (2 by maintainers)
Top Results From Across the Web
Basic Features: Pages - Next.js
Next.js pages are React Components exported in a file in the pages directory. Learn how they work here.
Read more >Creating a Markdown Blog Powered by Next.js in Under an Hour
Get started with Next.js with this step-by-step tutorial. ... Modify the content: array to look like this: Copy. 1content: [.
Read more >Connect your content to Next.js - Sanity.io
Connect your content to Next.js. Assuming you've followed along with the previous steps of configuring schema and editing content, you should be all ......
Read more >Nextjs Markdown Blog Setup - Austin Gatlin
js app on Vercel. Content for that website is written in markdown, which I pass through a processor built with unified ecosystem tools....
Read more >Contentful and Next.js: Getting started
Build your first Next.js starter with Contentful, the composable content platform that extends the capabilities of the headless CMS even further.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In a serverless environment you can’t access your own API endpoints within the serverless function, which is what the content module relies on. (That is, for example, you can’t try an HTTP get request to an endpoint served by the function - because it won’t be accessible via
http://localhost: 3000
.) Short of it being rewritten, I can’t see this being compatible with serverless SSR.Yes, this is now possible with https://github.com/nuxt/vercel-builder/pull/375