core
core copied to clipboard
Allow NuxtHub to connect to exisiting deployments
Is your feature request related to a problem? Please describe. I recently learnt about NuxtHub and wanted to use it; but since my project is already deployed on Cloudflare, it rejects the deployment.
Describe the solution you'd like For easy migration of people starting to use NuxtHub, probably allow connecting NuxtHub to existing cloudflare deployments.
Describe alternatives you've considered Delete the project and create a new deployment. But that involves setting up DNS and other configurations.
You should be able to import Cloudflare Projects from the NuxtHub Admin, did you try it>
Hi, I see this right now. Thanks! However, i can't select it since @nuxthub/core is not found in the pages project. I'm wondering how this works since I'm pushing static pages to the CDN.
Instead of deploying via nuxi generate, you can deploy using nuxi build after installing the NuxtHub module. https://hub.nuxt.com/docs/getting-started/deploy#self-hosted
Then you can use nitro.prerender to specify all routes, so you still have static pages but the NuxtHub module is running. https://nuxt.com/docs/getting-started/prerendering#selective-pre-rendering