30bf039d90
Summary: Tackling a handful of docs issues: - #12780 - #11227 - #2819 Closes https://github.com/facebook/react-native/pull/12867 Differential Revision: D4691083 Pulled By: hramos fbshipit-source-id: 9115315f2d6132e975901c9a0b784e9d41eeb49e |
||
---|---|---|
.. | ||
core | ||
jsdocs | ||
layout | ||
server | ||
src/react-native | ||
styles | ||
.gitignore | ||
README.md | ||
package.json | ||
publish-gh-pages.js | ||
setup.sh | ||
showcase.json |
README.md
Install prerequisites
Before running the website, make sure you've run the following:
git clone https://github.com/facebook/react-native.git
cd react-native
npm install
Run the website server
The first time, get all the website dependencies loaded via
cd website
npm install
Then, run the server via
npm start
open http://localhost:8079/react-native/index.html
Anytime you change the contents, just refresh the page and it's going to be updated.
Publish the website
cd website
npm run publish-website