Colors App Project

Make my own color with palette!
View Demo


About The Project

homepage

Create your own palette with colors. If you want to copy color code, you can copy hex, rgb, rgba code. You can set up color luminance, and also you can copy each color too. Start make your own palette!

Getting Started

You can setting up your project locally. To get a local copy up and running follow these simple example steps.

Installation

  1. Clone the repo
    git clone https://github.com/ysg81/REACT-colors_app.git
  2. Install NPM packages
    npm install
  3. Run Project
    npm run start

Project



#### 리액트 깃허브 베포 방법
  1. 프로젝트에 gh-pages 패키지 설치
npm install gh-pages --save-dev
  1. package.json 파일에 홈페이지 주소 추가
"homepage": "http://{사용자 이름}.github.io/{저장소 이름}",
  1. script에 predeploy, deploy 추가
"scripts": {
//...
  "predeploy": "npm run build",
  "deploy": "gh-pages -d build"
},
  1. 저장 후 터미널에 npm run deploy 실행
npm run deploy
  1. 라우터를 이용한 react app 베포 방법
1. HashRouter 사용
2. BrowserRouter에 basename 사용
  -> <BrowserRouter basename="/URL"></BrowserRouter>