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 205 forks source link

Missing App/Helpers on new install #1502

Closed phila088 closed 3 months ago

phila088 commented 3 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

Class "App\Helpers\PowerGridThemes\TailwindHeaderFixed" not found

PHP Version

8.2

PowerGrid

5.4

Laravel

11.2.0

Livewire

3.4.10

Alpine JS

No response

Theme

Tailwind 3.x with tailwind/forms

Describe the bug.

Following the documentation for the fixed header table. When installing, there is no helper files added in app folder. Cannot locate in the repo either. This gives an error when adding:

public function template(): ?string
    {
        return TailwindHeaderFixed::class;
    }
dansysanalyst commented 3 months ago

Hi @phila088,

This is a custom theme. You can see the live example here and the source code is available at the demo repository:

https://github.com/Power-Components/powergrid-demo/tree/powergrid_v5/app/Helpers/PowerGridThemes

phila088 commented 3 months ago

Thank you, I missed that!