FaCuZ / laravel-theme

Theme and asset managing for laravel
MIT License
138 stars 44 forks source link

Is Widget feature working??? #8

Open altraWeb opened 6 years ago

altraWeb commented 6 years ago

Because someone noticed that we instantiate an abstract class Widget in ThemeServiceProvider.

I think thats not right.... Or i'am stupid??

AhmedSayedSk commented 6 years ago

not working with me also

FaCuZ commented 6 years ago

Please call composer update and try again. Make sure you have 3.1.1

AgelxNash commented 6 years ago

https://github.com/FaCuZ/laravel-theme/commit/3a93821312bc4048c561861f758fd61ea5cbd3da#diff-1a1f9975bd8e8fad09282f4f7a206df1

Surt commented 6 years ago

I'm having an error with 3.1.1 on an app that was working right with 3.1 When calling @widget(\Namespace\ClassName::class, $options] rendered correctly as <?php echo Theme::widget('\Namespace\ClassName', $options])->render(); ?> the system says that the class does not exists appending App\Widgets\\Namespace\ClassName

Where did the App\Widgets\\ comes? I'm not using namespaces placeholders or nothing.

Any help will be appreciated. Thanks.