nuxt / vercel-builder

Vercel Builder for Nuxt
MIT License
645 stars 75 forks source link

Could this work with the new Build Output API? #730

Closed bokub closed 1 year ago

bokub commented 1 year ago

Can this builder work with the new Build Output API?

If yes, I think it would be a good idea to add an example configuration in the README

danielroe commented 1 year ago

I would advise you use either Nuxt Bridge or Nuxt 3, each of which comes with first-class support for Vercel's Build Output API, as well as a much smaller function size.

bokub commented 1 year ago

OK I'll try that, thank you! 👍

bokub commented 1 year ago

Hi Daniel,

I tested Nuxt 3 with Vercel. It's really fast and easy to configure, but it looks like on-demand static generation is still in progress (see screenshot below). Do you have any idea if it can be configured manually ? If no, do you know when we can expect it to become available ?

Thank you !!

image

danielroe commented 1 year ago

You can follow this: https://github.com/unjs/nitro/pull/545. We're just waiting for an upstream bug to be fixed before we can merge it.

leerob commented 1 year ago

I think we can probably close this out, unless you are thinking you'll update Nuxt 2 to add support here?