An open API service indexing awesome lists of open source software.

https://github.com/fourthmace/boilerplate-react-mui-ts

simple boilerplate for React.ts + MUI
https://github.com/fourthmace/boilerplate-react-mui-ts

mui react typescript vite

Last synced: 5 months ago
JSON representation

simple boilerplate for React.ts + MUI

Awesome Lists containing this project

README

          

# Project Setup

Follow the steps below to set up your React TypeScript project with Vite.

## Steps to Initialize the Project

1. **Create the Project:**

```bash
yarn create vite my-react-app --template react-ts
```

- Choose the following options:
- **Framework**: React
- **Variant**: TypeScript

2. **Navigate to the Project Directory:**

```bash
cd project_name
```

3. **Install Dependencies:**

```bash
yarn install
```

4. **Add Required Packages:**

- **React Router**:

```bash
yarn add react-router react-router-dom
```

- **React Hook Form**:

```bash
yarn add react-hook-form @hookform/resolvers
```

- **Material UI**:

```bash
yarn add @mui/lab @mui/material @mui/icons-material @emotion/react @emotion/styled
```

- **Yup**:

```bash
yarn add yup
```

- **Axios**:

```bash
yarn add axios
```

- **Notistack**:

```bash
yarn add notistack
```

- **Types Node**:

```bash
yarn add framer-motion
```

- **Types Node**:

```bash
yarn add @types/node --dev
```

5. **Run the Development Server:**

```bash
yarn run dev
```