Pre-requisites
Pre Requisites for DashboardKit React
Pre-requisites
DashboardKit is based on node and vite. Please check the following prerequisites before jumping into it.
Node JS - Version 22.x.x recommended
When copying folders, include hidden files like
.env. This file contains important theme settings. Do not delete the.envfile. Update its values according to your organization’s needs, but do not change the keys.The theme includes two lock files:
yarn.lock(for Yarn) andpackage-lock.json(for npm). Each of these files corresponds to a different package manager. To ensure consistency and avoid potential conflicts:Choose a Package Manager: Decide whether you will use Yarn or npm to manage your project's dependencies.
If using Yarn: Retain
yarn.lockand deletepackage-lock.json.If using npm: Retain
package-lock.jsonand deleteyarn.lock.
Do Not Modify Lock Files Manually: Avoid editing the contents of
yarn.lockorpackage-lock.jsondirectly. Manually changing these files can lead to dependency issues and inconsistencies. Always use the appropriate package manager commands (yarnornpm) to update or regenerate these files.
You can check your current version using the following commands:
c:\> node -v
c:\> yarn -v
c:\> npm -v
We used yarn as a command everywhere and we also recommend the same.
Last updated