79537766

Date: 2025-03-27 03:38:53
Score: 2
Natty:
Report link

You are experiencing slow page reloads in development especially after making style changes. I think you can try either method below:

1.Vite-specific Optimizations

Run Vite in development mode separately: npm run dev in a dedicated terminal

Ensure you're not importing all Tailwind styles in development (use @import selectively)

Check your vite.config.js for unnecessary plugins or heavy processing

  1. Laravel Optimizations

Disable Telescope if installed: comment out Telescope service provider

Use APP_DEBUG=false in your .env (even in development)

Clear routes cache: php artisan route:clear

Disable unused service providers in config/app.php

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @import
  • Low reputation (1):
Posted by: Techliberty_Mission