A template for creating and deploying React applications to GitHub Pages with Tailwind CSS using one-click deployment.
- ⚛️ React with TypeScript
- 🎨 Tailwind CSS for styling
- 📱 Responsive design
- 🚀 GitHub Pages deployment
- 🤖 One-click automated deployment
-
First-time setup:
npm run init-and-deploy
You'll be prompted to enter a repository name, or you can provide one directly:
npm run init-and-deploy -- --repo-name="my-awesome-app"
-
For subsequent updates, simply run:
npm run auto-deploy
Your app will be available at the URL provided in the console output.
- Start the development server:
npm start
- Build for production:
npm run build
- Deploy changes to GitHub Pages:
npm run deploy
- Modify the components in the
src
directory - Customize Tailwind CSS in
tailwind.config.js
- Update the page title and metadata in
public/index.html
If the initialization fails:
- Make sure GitHub CLI is installed:
gh --version
- Make sure you're logged in to GitHub:
gh auth status
- Check error messages in the console output
MIT