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
Avinash
Avinash7mo ago
You can manually select repository from github and deploy via cloudflare dashboard.
JFSIII
JFSIII7mo ago
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 …
JFSIII
JFSIII7mo ago
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.
bhavish
bhavishOP7mo ago
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.
harshil1712
harshil17127mo ago
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
bhavish
bhavishOP7mo ago
No errors, I did not start with the cloudflare template is all. I just started with a bare minimum remix-project
bhavish
bhavishOP7mo ago
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?/
No description
bhavish
bhavishOP7mo ago
here is the log please help me
Want results from more Discord servers?
Add your server