Reputation: 259
I freshly install Laravel 12 livewire starter kit. installation completed without any issue. When submit the user details in register page I found that the page is not correctly submitting the form .URL is appended with query strings instead of submitting. when I check the console it show errors. I can see the same issue in login page also.
GET http://localhost/flux/flux.js?id=e42ce913 net::ERR_ABORTED 404 (Not Found)
GET http://localhost/livewire/livewire.js?id=65f3e655 net::ERR_ABORTED 404 (Not Found)
How can I fix this issue?
Upvotes: 0
Views: 57
Reputation: 443
To access it directly from virutal host. You can either run npm run dev
or npm run build
accordingly. You can find the difference for the both here.
Upvotes: 0
Reputation: 259
Issue resolved while I access the app through http://127.0.0.1:8000/register after run composer run dev
. The issue was there when I access like
http://localhost/myProjectFolder/public/register
Upvotes: 0