Can Pages serve dynamic content? (Nuxt.js)
Hey there, I'm a bit confused as to what exactly is supported by Pages. The docs state that dynamic / SSR frameworks like Next and Nuxt are supported; but I'm having trouble understanding how I'm supposed to configure the app to actually serve correctly.
For example, I've got a Nuxt (v2) app that I'm building with
nuxt build
. It spits out a .nuxt
folder that looks like this (see image). The framework expects that the folder is served with nuxt start
. How do I configure Pages to do that? Is that even supported? I tried both direct upload via Wrangler (my preferred method) and the direct git integration. I thought maybe by specifying the framework in the latter method the app would configure itself to serve Nuxt assets. I get a plain http 404 response code when trying to access the deployed app.
Additional note - I'm aware that I can serve the Nuxt app in full static mode by uploading the dist
folder (created via nuxt generate
). But that's not what I want in this case; I specifically want to use the dynamic app.
Thanks!0 Replies