Power-Components/livewire-powergrid

Class "PowerComponents\LivewirePowerGrid\Responsive" not found

Closed this issue · 1 comments

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?

No

PHP Version

8.3.12

PowerGrid

latest

Laravel

11.30.0

Livewire

3

Alpine JS

No response

Theme

Tailwind 3.x with tailwind/forms

Describe the bug.

Class "PowerComponents\LivewirePowerGrid\Responsive" not found when to use Responsive::make

Capture

To Reproduce...

create new datatable and add Responsive::make()

Extra information

No response

The docs are a good mix of V5 and V6. If you're running V6 you need to look at the upgrade guide here https://livewire-powergrid.com/release-notes-and-upgrade/upgrade-guide.html

I think you need to use PowerComponents\LivewirePowerGrid\Facades\Responsive; as well as change your invocation to PowerGrid::responsive();