# Frontend Setup Instructions

## Install Dependencies

```bash
npm install
```

## Install Required Packages

```bash
npm install pinia vue-router axios chart.js
```

## Run Development Server

```bash
npm run dev
```

## Build for Production

```bash
npm run build
```

## Laravel Server

```bash
php artisan serve
```

## Access Application

- Frontend: http://localhost:5173
- Backend API: http://localhost:8000

## Troubleshooting

If web doesn't load:

1. Clear cache:
```bash
php artisan cache:clear
php artisan config:clear
php artisan route:clear
php artisan view:clear
```

2. Rebuild assets:
```bash
npm run build
```

3. Check if Vite is running:
```bash
npm run dev
```

4. Check browser console for errors (F12)
