mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: I ran the website locally and noticed the icons in the showcase on the homepage look squashed:  Made the icons consistent with /showcase.html: https://github.com/facebook/react-native/blob/d54c7f82822f623a903858d8d686d7f14ec71aae/website/styles/_showcase.scss#L74 Closes https://github.com/facebook/react-native/pull/12773 Differential Revision: D4669767 Pulled By: hramos fbshipit-source-id: be5a758dd912083fc02c8e0b56c30c8617dcf3df
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