Last active
October 25, 2018 18:40
-
-
Save simplesNotEZ/726804b5303fcc45f05998bfcae6d25e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*Publishing react to firebase* | |
// Log into firebase and create a project | |
// Make sure npm isn’t running anything any place in any terminal | |
// Change to your react app folder | |
*npm run build* | |
// creates a build folder and merges files into a compact build version | |
*firebase init* | |
// select hosting | |
// select your project | |
// *type build as your public directory* | |
// configure as single page app NO | |
// overwrite index.html NO | |
*firebase deploy* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment