Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jsparkdev/react-router-cloudflare-pages-template
A minimal template for building a React Router App with Cloudflare Pages.
https://github.com/jsparkdev/react-router-cloudflare-pages-template
biomejs cloudflare-pages react react-router remix shadcn-ui vite
Last synced: about 8 hours ago
JSON representation
A minimal template for building a React Router App with Cloudflare Pages.
- Host: GitHub
- URL: https://github.com/jsparkdev/react-router-cloudflare-pages-template
- Owner: jsparkdev
- License: mit
- Created: 2024-12-01T03:27:30.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-12-10T04:43:03.000Z (about 2 months ago)
- Last Synced: 2024-12-10T05:28:54.917Z (about 2 months ago)
- Topics: biomejs, cloudflare-pages, react, react-router, remix, shadcn-ui, vite
- Language: TypeScript
- Homepage: https://react-router-cloudflare-pages-template.pages.dev/
- Size: 410 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# React Router + Cloudflare Pages Template
A minimal template for building a React Router App with Cloudflare Pages.
## Features
- [Vite](https://vite.dev/) + [React Router v7](https://reactrouter.com/)
- [shadcn/ui](https://ui.shadcn.com/) - Beautiful and accessible components
- [React](https://react.dev) 19 RC - Release Candidate version with new features
- [Biome](https://biomejs.dev/) - Fast and modern linter and formatter
- Deploy to [Cloudflare Pages](https://pages.cloudflare.com/) with zero configuration## Project Structure
```
app/
├── components/ # Reusable UI components
│ └── ui/ # shadcn/ui components
├── lib/ # Utility functions and configuration
├── routes/ # Route components and nested routes
├── entry.client.tsx # Client entry point
├── entry.server.tsx # Server entry point
├── root.tsx # Root layout component
└── routes.ts # Route configuration
```## Getting Started
```bash
# Install dependencies
pnpm i# Start dev server at localhost:5173
pnpm dev# Build for production
pnpm build# Preview production build
pnpm preview# Format code
pnpm format# Run linter
pnpm lint# Run formatter, linter and sort imports
pnpm check
```## License
MIT