# Games Cafe - React 18

# Project summary

A simple website designed for an imaginary games cafe company using React 18 and Tailwind.

# 🌐 Page

🌐 games-cafe
https://aliciacyy.github.io/games-cafe/

# Github repository

🚀 games-cafe
https://github.com/aliciacyy/games-cafe

# Setup guide

Set up using Create React App.

npx create-react-app my-app

To run:

npm run start

# Deploy to Github Pages

Use react-gh-pages.

# Pre-requisites

  1. Install
$ npm install gh-pages --save-dev
  1. Add a homepage property in this format*: https://.github.io/ in package.json
  "name": "my-app",
  "version": "0.1.0",
+ "homepage": "https://gitname.github.io/react-gh-pages",
  "private": true,
  1. Add a predeploy property and a deploy property to the scripts object:
"scripts": {
+   "predeploy": "npm run build",
+   "deploy": "gh-pages -d build",
    "start": "react-scripts start",
    "build": "react-scripts build",

# Deployment

npm run deploy