Asp.net MVC Docs - v2.3.0
Installation & Build

We have used understandable and easy-to-understand instructions to help you install Sliced - Admin & Dashboard Template in your project. Follow the below steps to get started.

1. Download the Package
  • Source: Download the code
  • Format: The file will be in a .zip file format.
2. Unzip the file
  • Extract the contents of the downloaded .zip file to a directory on your computer. It will extract in the Sliced_v2.3.0 folder.
3. Install Node.js (if not already installed)
  • Prerequisite: Ensure Node.js and npm (Node Package Manager) are installed on your system. Make sure to use node version 22.*.
  • If Node.js is not installed, download and install it from the website. npm comes bundled with Node.js.
4. Install Node Modules
  • Setup: Open your terminal or command prompt from the sliced.sln file.
  • Execute: Run the following command to install all the required Node.js packages and dependencies specified in the package.json file:
    yarn install
  • Explanation: This command will download and install all the necessary dependencies for your project, including build tools, libraries, and plugins, ensuring your development environment is set up correctly.
5. Create a Production Build & Libraries Folder
  • Command: After the dependencies are installed, generate a production-ready build by running:
    yarn run build
  • Outcome: This command compiles and optimizes your assets, creating a distribution folder (`/static`) that contains minified and ready-to-deploy files. It ensures your project is optimized for performance in a production environment.
6. Visual Studio
  • Make sure to have the Latest Visual Studio installed & running on your computer. If you already have installed latest Visual Studio on your computer, you can skip this step.

After you finished with the above steps, you can run the following commands to run the project locally or build for production use:

Command

Open Solution file

Description

Open sliced.sln file with Visual studio and make sure to check asstes folder contain libs folder.

Whenever you make changes to JavaScript, JSON, or CSS files in the assets folder, run the following command to rebuild your project:

yarn run build

This will apply all updates, including Tailwind CSS styles.