mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-09 09:12:06 +08:00
Summary:All anchor links are broken because of https://github.com/facebook/react-native/blob/master/website/core/Site.js#L37 base tag it means that relative urls won't work. closes #5450 proof  Closes https://github.com/facebook/react-native/pull/6208 Differential Revision: D2988892 Pulled By: vjeux fb-gh-sync-id: da8b621af92d792a258812e38ae15f7cf53873ca shipit-source-id: da8b621af92d792a258812e38ae15f7cf53873ca
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