how to deploy an existing remix : vite project on cloudflare pages?
I was looking for any tutorials that might help me do this but they all are using a predefined template
https://developers.cloudflare.com/pages/framework-guides/deploy-a-remix-site/
How to convert an existing remix app so that it can be easily deployed over cloudflare pages
here is the repo
https://github.com/sBhavish/Portfolio
8 Replies
You can manually select repository from github and deploy via cloudflare dashboard.
Here's how to convert a Workers Site to a Pages project https://developers.cloudflare.com/pages/how-to/refactor-a-worker-to-pages-functions/
Cloudflare Docs
Refactor a Worker to a Pages Function · Cloudflare Pages docs
In this guide, you will learn how to refactor a Worker made to intake form submissions to a Pages Function that can be hosted on your Cloudflare Pages …
Cloudflare Docs
Migrating from Workers Sites to Pages · Cloudflare Pages docs
In this tutorial, you will learn how to migrate an existing Cloudflare Workers Sites application to Cloudflare Pages.
It is showing a blank screen https://bhavishs.pages.dev/
let me try what @JFSIII is suggesting
@JFSIII This is not a worker site, Its simply a remix project. I wanted to deploy my project over on to Cloudflare pages.
Can you share any errors you get? I haven't deployed a Remix site on Cloudflare Pages in a while, but in the past I was able to do so by resolving the errors I got
No errors, I did not start with the cloudflare template is all. I just started with a bare minimum remix-project
Hi @Harshil Agrawal
I am getting error for every
node_module
I have the same node modules in vercel as well but it is not able to find those packages how to fix this?/here is the log please help me