create-react-edge
v1.0.11
Published
Create React Edge projects
Maintainers
Readme
🚀 create-react-edge
Create a new React Edge application with one command.
Quick Start
Using npm:
npm create react-edgeUsing npx:
npx create-react-edgeUsing yarn:
yarn create react-edgeFollow the prompts to create your project.
What's included
The project template comes with:
- React 19
- TypeScript
- Tailwind CSS
- Vite
- Vitest
- ESLint + Prettier
- Cloudflare Workers integration
Requirements
- Node.js 18+
- npm 7+
Cloudflare Configuration
To use Cloudflare Workers, you'll need to provide your Cloudflare credentials. You can do this in two ways:
- Add it to your package.json scripts:
{
"scripts": {
"edge": "CLOUDFLARE_API_TOKEN=[CF_API_TOKEN] edge"
}
}- Set environment variables:
export CLOUDFLARE_API_TOKEN=[USER_CF_API_TOKEN]Replace [USER_CF_API_TOKEN] with your actual Cloudflare Account ID and API Token.
📝 License
MIT © Felipe Rohde
👨💻 Author
Felipe Rohde
- Twitter: @felipe_rohde
- Github: @feliperohdee
- Email: [email protected]
