Installation
Setup
Getting Started
Yum React is created using bunx create-vite.
create-vite is a tool to quickly start a project from a basic template for popular frameworks. Check out Awesome Vite for community maintained templates that include other tools or target different frameworks. You can use a tool like degit to scaffold your project with one of the templates. Please follow below steps to install and setup all prerequisites:
Prerequisites
Please follow below steps to install and setup all prerequisites:
-
Node.js
In order to use build tools you will need to download and install Node.js. If you do not have Node.js installed already, you can get it by downloading the package installer from the official website. Please download the stable version of Node.js (LTS).
Download Node.js
Installation
To setup Yum Next, follow the below-mentioned steps:
You can run the following commands to run project locally or build for production use:
You can run this app following package manager: Bun, Yarn or NPM
1. Bun (Recommended)
If you don't have bun installed on your PC, use the npm i -g bun or sudo npm i -g bun to install
| Command | Description |
|---|---|
bun i |
This would install all required dependencies
in node_modules folder.
|
bun dev
|
Runs the project locally, starts the development server. |
bun run build
|
It bundles with production mode. Your app is now ready to be deployed. |
2. Yarn
If you don't have yarn installed on your PC, use the next command npm i -g yarn or sudo npm i -g yarn
| Command | Description |
|---|---|
yarn |
This would install all required dependencies
in node_modules folder.
|
yarn dev
|
Runs the project locally, starts the development server. |
yarn build
|
It bundles with production mode. Your app is now ready to be deployed. |
3. NPM
npm comes preinstalled when you install nodejs
| Command | Description |
|---|---|
npm install |
This would install all required dependencies
in node_modules folder.
|
npm run dev
|
Runs the project locally, starts the development server. |
npm run build
|
It bundles with production mode. Your app is now ready to be deployed. |