Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class "Asantibanez\LivewireCalendar\LivewireCalendar" not found #38

Open
Deniz073 opened this issue Aug 29, 2022 · 1 comment
Open

Class "Asantibanez\LivewireCalendar\LivewireCalendar" not found #38

Deniz073 opened this issue Aug 29, 2022 · 1 comment

Comments

@Deniz073
Copy link

Deniz073 commented Aug 29, 2022

Im getting an Class "Asantibanez\LivewireCalendar\LivewireCalendar" not found from vscode when running the application, but my ide does recognize the class. Dont know how to fix it. It is a fresh laravel 9 application and to use this package i used the workaround #32 (comment) mentioned here.

image

@roomdada
Copy link

Hi I solved the problem by adding
to config/app.php add these lines :
providers :
\AsantibanezLivewireCalendarLivewireCalendarServiceProvider::class

alias :
"LivewireCalendar" => \Asantibanez\LivewireCalendar\LivewireCalendarFacade::class,

Then open your composer.json file at autoload level and add this line
"Asantibanez\LivewireCalendar": "vendor/asantibanez/livewire-calendar/src/"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants