Files
2019-07-01 09:02:53 -07:00
..
2018-06-08 07:13:55 -04:00
2019-07-01 09:02:53 -07:00
2018-10-10 18:30:23 +08:00
2018-06-08 07:30:15 -04:00
2019-04-02 19:55:09 +02:00

This directory contains the source for react-window.now.sh. The website structure was created with create-react-app, although it has since been ejected in order to add custom Webpack loaders.

Local development

To run this site locally, first make sure you have NPM linked react-window:

cd /local/path/to/react-window
npm link
cd ./website
npm link react-window

Then run the NPM "start" command in the project root to watch for changes to react-window:

 cd /local/path/to/react-window
 npm run start

Lastly, run the NPM "start" command from this directory to run the local webserver:

cd /local/path/to/react-window/website
npm run start

Deployment

To deploy this website to Now, use the NPM "deploy" command from this directory:

cd /local/path/to/react-window/website
npm run deploy