Code icon

REACT - DEPLOYMENT

Links


    // DEPLOY IN IONOS <
    In package.json add an attribute over scripts the path of the server where the react app will be, for example:
    "homepage": "http://www.ruialbe.com/portfolio/react/",

    In terminal execute: npm run build
    This creates a build folder in the proyect. Take all the files in it and upload them to your folder in your server. 
    In this example: http://www.ruialbe.com/portfolio/react/