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

Alpine Expression Error: wireui_modal is not defined Expression: "wireui_modal({ show: false, model: JSON.parse(atob('eyJuYW1lIjoibW9kZWwiLCJkaXJlY3RpdmUiOiJ3aXJlOm1vZGVsLmRlZmVyIiwidmFsdWUiOiJjcmVhdGVNb2RhbCJ9')) })" #847

Open
rahmannudn opened this issue Jan 12, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@rahmannudn
Copy link

I have installed wireUI and followed all the steps from https://v1.wireui.dev/docs/get-started.

After the page loads, the modal that I use automatically shows, and after I close it, I cannot open it anymore. Anyone can please tell me the problem.🙏

Here's the error message on the console.
image

the blade file :
image

app.blade.php (inside head tag)

@livewireStyles
  @wireUiScripts
  <script src="//unpkg.com/alpinejs" defer></script>

  @vite(['resources/css/app.css', 'resources/js/app.js'])
  @livewireScripts

code inside app.js :
import "./bootstrap"; import "flowbite"; import "./../../vendor/power-components/livewire-powergrid/dist/powergrid"; import "./../../vendor/power-components/livewire-powergrid/dist/tailwind.css";

@rahmannudn rahmannudn added the bug Something isn't working label Jan 12, 2024
@woweya
Copy link

woweya commented Apr 23, 2024

Same problem as you, did you find out?

@rahmannudn
Copy link
Author

rahmannudn commented Apr 24, 2024

just delete the alpine js script tag and make sure you follow this step https://v1.wireui.dev/docs/get-started correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants