Articles and tutorials ...
Hello everyone!
Let's see together how we can build a simple website using Vite JS in React ...
First of all, we create the base app:
npm create vite@latest project_name
After the project is created, with go in the new project's folder using the command:
cd project_name
or from the File Menu we open the the project folder
Next you will need to install NPM using the command;
npm install
If you want your app tu run on another port, for example 3006, you need to write intro your "vite.config.js" file the following code:
// here you can write what port number do you like
server:
{
port: 3006,
}
Next you will start the App using the command in the terminal:
npm run dev