Install React - ly-yuan-kai/Demo GitHub Wiki

First of all, we need to install nodejs and npm.

$ sudo apt-get install nodejs npm

cd into project directory and install relative library package.

$ cd (path)/demo
$ npm install
$ npm ci

dependencies

$ npm i react-router-dom --save # install router to use in single page app (SPA)