Amitkasar's picture
Amit Chakradeo
Refactor UI to theme variables + add Settings
7457a6f
|
Raw History Blame Contribute Delete
1.32 kB

React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

Getting Started

To get the project running locally, follow these steps:

  1. Install Dependencies:

    npm install
    

    Note: If you encounter dependency conflicts, use npm install --legacy-peer-deps.

  2. Run the Development Server:

    npm run dev
    

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the ESLint configuration

If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.