I'm trying to set up a Livewire Starter Kit project inside XAMPP (in Windows).

However, I'm running into issues getting it to work correctly. For example, Livewire components don't render properly, and the app shows errors related to livewire and flux and same problem in cpanel.

What I’ve done so far:

  1. Installed XAMPP and started Apache and MySQL.

  2. Placed my Laravel project in C:\xampp\htdocs\myproject.

  3. Ran composer install and npm install.

  4. Set up .env file (DB connection, APP_URL, etc.).

  5. Ran php artisan migrate and php artisan serve.

Despite this, all the Livewire components do not work properly in XAMPP.

What should i add to make work properly.

flux and livewire problem

2 Replies 2

How are you accessing the app?

  • Via php artisan servehttp://127.0.0.1:8000?

  • Or directly through Apache → http://localhost/myproject/?

I deployed my Laravel application (built using the Livewire starter kit) on XAMPP. The application is accessible via: http://localhost/myproject/ but the livewire and flux not working

Your Reply

By clicking “Post Your Reply”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.