Issue For Latest Laravel 11 + Bootstrap 5 Alpine Expression Error #1833
Replies: 5 comments 9 replies
-
Beta Was this translation helpful? Give feedback.
-
How does your mix setup look like? I had similiar issues and they were solved by building the frontend dependencies again (which isn't exactly mentioned in the docs / setup instructions); e.g. by manually running one of the following: npm run build
npm run dev |
Beta Was this translation helpful? Give feedback.
-
same problem, but I use tailwind.. none fix found |
Beta Was this translation helpful? Give feedback.
-
Same issue after upgrading to Laravel 12 & Powergrid 6 Alpine Expression Error: pgRenderActions is not defined |
Beta Was this translation helpful? Give feedback.
-
Hi, I solved this by adding the import in app.js
Hope this helps. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Livewire PowerGrid version
6.1.11
Livewire version
3.5.18
Laravel version
11.39.1
Which PHP version are you using?
PHP 8.3
Which Theme are you using?
Bootstrap 5
Have you published the resource files and customized them? (php artisan vendor:publish)
Yes
What is the problem?
Currently just reinstall livewire powergrid and setup it based on documentation . Somehow when using table , it cause an error where
Error:
Uncaught ReferenceError: pgRenderActions is not defined
Warning:
`livewire.js?id=951e6947:1123 Alpine Expression Error: pgRenderActions is not defined
Expression: "pgRenderActions"
Expression: "toHtml"
`
Code snippets
Basic setup , nothing special . Only using bootstrap 5 .
Install laravel 11
Install bootstrap
Using mix to build asset
Run project and open table
How do you expect it to work?
Expecting basic table can be run
Please confirm (incomplete submissions will not be addressed)
Beta Was this translation helpful? Give feedback.
All reactions