Power-Components / livewire-powergrid

⚡ PowerGrid generates modern, powerful and easy-to-customize data tables using Laravel Livewire.
https://livewire-powergrid.com
MIT License
1.41k stars 206 forks source link

Livewire 3.4.11 + Powergrid Cannot Detect Alpine #1527

Closed killallskywalker closed 1 month ago

killallskywalker commented 2 months ago

Have you searched through other issues to see if your problem is already reported or has been fixed?

Yes, I did not find it.

Did you read the documentation?

Yes, I did not find it.

Have you tried to publish the views?

Yes - I didn't work.

Is there an error in the console?

Yes Screenshot 2024-05-04 at 6 42 31 AM

PHP Version

8.2.18

PowerGrid

5.4.10

Laravel

10.48.7

Livewire

3.4.11

Alpine JS

3.13.8

Theme

Bootstrap

Describe the bug.

im trying to use editOnClick and filter . However i just got all the error as in screenshot . Since latest livewire it alredy preload alpine , im not sure in the case of powergrid do we need to import on our own ?

To Reproduce...

Just pick the bootstrap 5 theme .

Extra information

No response

killallskywalker commented 1 month ago

Im tyring to check if the problem lie to my alpine setup . however another alpine component are working well in the same page where the table are use .

luanfreitasdev commented 1 month ago

Hi, have you tested this with the latest version of livewire?

killallskywalker commented 1 month ago

Hi @luanfreitasdev , yes just upgrade it to the latest one which is v5.6.0

killallskywalker commented 1 month ago

Ill bump it to 5.6.2 . However it still have the same issue where alpine expression is not defined . Is it this might related to how i build the assets also ? @luanfreitasdev

luanfreitasdev commented 1 month ago

I can't reproduce this problem, the powergrid demo contains the latest updates: https://demo.livewire-powergrid.com/examples/validation

Did you follow these? https://livewire-powergrid.com/get-started/powergrid-configuration.html#essential-configuration

killallskywalker commented 1 month ago

@luanfreitasdev yeap have been following this . Let me check back because currently im using bootstrap template that already have their own library . It could be the conflict with the npm library . Let me check and will update here . But based on the demo look like it not the powergrid problem .

luanfreitasdev commented 1 month ago

Hello!. So I'm going to close this issue. If you discover the problem, you can report it here. thanks!