remix-cloudflare-workers Tailwind Templates

Remix Cloudflare Workers

Basic remix template ready to deploy on a cloudflare worker. Includes basic tailwindcss and prisma pre-configured

Welcome to Remix!

Development

You will be running two processes during development:

  • The Miniflare server (miniflare is a local environment for Cloudflare Workers)
  • The Remix development server

Both are started with one command:

yarn dev

Open up http://127.0.0.1:8787 and you should be ready to go!

If you want to check the production build, you can stop the dev server and run following commands:

yarn build
yarn start

Then refresh the same URL in your browser (no live reload for production builds).

Deployment

If you don't already have an account, then create a cloudflare account here and after verifying your email address with Cloudflare, go to your dashboard and set up your free custom Cloudflare Workers subdomain.

Once that's done, you should be able to deploy your app:

yarn deploy

Top categories

Loading Svelte Themes