ScaffoldHub
Search
⌃K

Frontend

The frontend configuration files are located at:
  • frontend/src/config/<environment>.tsx (For React and Vue)
  • frontend/src/environments/environment.<environment>.ts (For Angular)
The localhost configuration is already in place, you don't need to change anything. For the staging and production environments, please refer to the Deployment > Frontend section.

Installing NodeJS

Make sure you have NodeJS installed on your machine. The recommended version is 16.
It is recommended that you use a Node Version Manager tool for you to be able to switch version if you need it in the future.

Installing the Dependencies

Go to the frontend folder of your project and run:
npm install
You can ignore installation warnings, but if it doesn't compile for some reason, try Yarn.
yarn install

Running the frontend

Go to the frontend folder of your project and run:
npm start
Last modified 6mo ago