Project Setup
In order to set up the project, pick any starter template from the Jumbo folder (the one you got after purchasing the Jumbo), copy it to the place where you want to keep the project, rename the folder.
In step 2, Open the command prompt and reach out to the path where the folder is kept. Now, run the following command to install the dependencies and libraries used in Jumbo:-
yarn
Alternatively, you can open the folder in the development editor of your choice and run the above-written command in its terminal.
After installing the dependencies, you can run the project on a local server by using the following command:-
yarn start
The Build is used for presenting the offline demo of the project or putting the project on a live server. So this step is not mandatory if you want to run the project on localhost or in development mode.
To prepare the build of the project, run the following command:-
yarn build
The project was built assuming it is hosted at /. You can control this with the homepage field in your package.json.
After the successful completion of this command, you will find a folder named "build" in the project files.
The "build" folder is ready to be deployed. You may serve it with a static server:
yarn global add serve -s build
Find out more about deployment here:
Last modified 2yr ago