frandiox / reactesse-edge-template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reactesse Edge

React + Vite + Edge Side Rendering template based on @antfu's Vitesse with Vitedge.

Live Demo

Features


Pre-packed

UI Frameworks

Plugins

Dev tools

Try it now!

GitHub Template

Create a repo from this template on GitHub.

Clone to local

If you prefer to do it manually with the cleaner git history

npx degit frandiox/reactesse-edge-template my-reactesse-app
cd my-reactesse-app
npm i

Checklist

When you use this template, try follow the checklist to update your info properly

  • Add a name field in package.json
  • Change the author name in LICENSE
  • Change the favicon in public
  • Remove the .github folder which contains the funding info
  • Clean up the READMEs and remove routes

And, enjoy :)

Usage

Development

Just run and visit http://localhost:3333

npm run dev # SSR development
npm run dev:spa # SPA without SSR

Build

To build the App, run

npm run build

And you will see the generated files in dist.

Deploy on Cloudflare Workers

  1. Create your Cloudflare account.
  2. Install Wrangler CLI.
  3. Modify the account_id in wrangler.toml. Then:
npm run preview # Simulate Worker environment locally
npm run deploy

About

License:MIT License


Languages

Language:TypeScript 83.3%Language:CSS 10.6%Language:HTML 6.0%Language:Shell 0.2%