Skip to content

A reproduction repo of React crashing when vite discovers new dependencies and reloads

Notifications You must be signed in to change notification settings

astonfuture/remix-vite-optimize-dependency-crash

Repository files navigation

Welcome to Remix + Cloudflare Workers!

Development

Run the dev server:

npm run dev

To run Wrangler:

npm run build
npm start

Typegen

Generate types for your Cloudflare bindings in wrangler.toml:

npm run typegen

You will need to rerun typegen whenever you make changes to wrangler.toml.

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:

npm run deploy

Styling

This template comes with Tailwind CSS already configured for a simple default starting experience. You can use whatever css framework you prefer. See the Vite docs on css for more information.

About

A reproduction repo of React crashing when vite discovers new dependencies and reloads

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published