Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Javascript error in Backend #3

Closed
6ui11em opened this issue Apr 12, 2022 · 4 comments
Closed

Javascript error in Backend #3

6ui11em opened this issue Apr 12, 2022 · 4 comments

Comments

@6ui11em
Copy link
Contributor

6ui11em commented Apr 12, 2022

Using magewire in a Luma based theme with magewire-requirejs we are getting the following error in the browser console when we are in the Magento Backend:

Failed to load resource: the server responded with a status of 404 () livewire.min.js:1
Uncaught Error: Script error for: Livewire

@wpoortman
Copy link
Collaborator

Hi @6ui11em,

Magewire is currently only for the frontend. I'm looking into making it compatible with the backend, but this will take some time. Are you ok with me closing this issue?

@6ui11em
Copy link
Contributor Author

6ui11em commented May 9, 2022

Hi @wpoortman ,
Ok, as you considere. I just want to let you know. It seemed strange to me see a javascript error in the Backend when Magewire is currently only for the frontend.

@wpoortman
Copy link
Collaborator

Thanks for the reply @6ui11em, I will close the issue for now :)

@LauHypershop
Copy link

I'm also experiencing this error. I believe it's because the livewire.js file in magewirephp/magewire was moved to magewirephp/magewire/view/frontend, while this module is calling it from view/base.

This looks like it might be fixed by #6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants