Go to file
2024-10-30 23:11:22 +01:00
app Initial commit from create-remix 2024-10-30 23:11:22 +01:00
functions Initial commit from create-remix 2024-10-30 23:11:22 +01:00
public Initial commit from create-remix 2024-10-30 23:11:22 +01:00
.eslintrc.cjs Initial commit from create-remix 2024-10-30 23:11:22 +01:00
.gitignore Initial commit from create-remix 2024-10-30 23:11:22 +01:00
load-context.ts Initial commit from create-remix 2024-10-30 23:11:22 +01:00
package-lock.json Initial commit from create-remix 2024-10-30 23:11:22 +01:00
package.json Initial commit from create-remix 2024-10-30 23:11:22 +01:00
postcss.config.js Initial commit from create-remix 2024-10-30 23:11:22 +01:00
README.md Initial commit from create-remix 2024-10-30 23:11:22 +01:00
tailwind.config.ts Initial commit from create-remix 2024-10-30 23:11:22 +01:00
tsconfig.json Initial commit from create-remix 2024-10-30 23:11:22 +01:00
vite.config.ts Initial commit from create-remix 2024-10-30 23:11:22 +01:00

Welcome to Remix + Cloudflare!

Development

Run the dev server:

npm run dev

To run Wrangler:

npm run build
npm run 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

First, build your app for production:

npm run build

Then, deploy your app to Cloudflare Pages:

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.