mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-01 09:23:16 +08:00
Summary:vjeux spicyj this fixes website generation because these API are now in React. I would refer React file but it seems fragile because it is a thirdparty dependency now. How do we document thirdparty API? Closes https://github.com/facebook/react-native/pull/7163 Differential Revision: D3216771 fb-gh-sync-id: b0653a0bbe0f84dc509f74d185f494ac343405a8 fbshipit-source-id: b0653a0bbe0f84dc509f74d185f494ac343405a8
Run the website server
The first time, get all the dependencies loaded via
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