16.2.1 프로젝트 생성 및 라이브러리 설치
먼저 create-react-app을 이용하여 프로젝트를 만드세요.
$ create-react-app react-router-tutorial
그다음에는 해당 디렉터리로 이동한 후 yarn으로 react-router를 설치하세요.
$ yarn add react-router-dom
16.2.1 프로젝트 생성 및 라이브러리 설치
먼저 create-react-app을 이용하여 프로젝트를 만드세요.
$ create-react-app react-router-tutorial
그다음에는 해당 디렉터리로 이동한 후 yarn으로 react-router를 설치하세요.
$ yarn add react-router-dom