Skip to main content

Configuring Vite

Project Template Setup with Vite and Degit

This guide will help you quickly set up a new project using Vite and the Degit tool with the DeshiJS template.

Prerequisites

Before you begin, make sure you have the following installed on your machine:

  • Node.js (which includes npm or yarn)
  • npx (usually included with npm)

Creating a New Project

To create a new project using the DeshiJS template, you can use the npx command with degit. This allows you to scaffold a new project quickly.

Command

npx degit DeshiJS/DeshiJS
  1. Install Dependencies

    Run the following command to install all necessary dependencies:

    npm install

    Once the dependencies are installed, start the development server with this command:

    npm run dev