This directory contains the source for react-split-pane.surge.sh.
The website structure was created with create-react-app
, although it has since been ejected in order to add custom Webpack loaders.
To run this site locally, first make sure you have NPM linked react-split-pane
:
cd /local/path/to/react-split-pane
npm link
cd ./website
npm link react-split-pane
Then run the NPM "start" command in the project root to watch for changes to react-split-pane
:
cd /local/path/to/react-split-pane
npm run start
Lastly, run the NPM "start" command from this directory to run the local webserver:
cd /local/path/to/react-split-pane/website
npm run start
To deploy this website to Now, use the NPM "deploy" command from this directory:
cd /local/path/to/react-split-pane/website
npm run deploy