File size: 1,200 Bytes
251d0f9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# React + TypeScript + Vite + Tailwind CSS

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

Tailwind CSS plugin has been configured for rapid UI development. You can start styling immediately using utility classes without writing custom CSS from scratch.


## Getting started

### Install dependencies

```bash
pnpm install
```

### Run frontend (dev mode)

Run:

```bash
pnpm dev
```

Frontend website should be available on localhost:
```
  VITE v7.1.2  ready in 429 ms

  ➜  Local:   http://localhost:5173/
  ➜  Network: use --host to expose
  ➜  press h + enter to show help
```

Hot reload is enabled, meaning frontend is reloaded on each file update.

### Code quality

You can run the linter with:

```bash
pnpm lint
```

and then test everything's fine with:

```bash
pnpm lint:check
```

And for code formatting, run:

```bash
pnpm format
pnpm format:check
```

### Build

Finally, you can build you app using:

```bash
pnpm build
```

The generated website will be located in the `dist/` folder.

To preview it, run:

```bash
pnpm preview
```

which serves the `dist/` folder as a static site, simulating a production environment.