Can I use it with vuejs and laravel?

|
DesolatorMagno 2022-09-09 18:56:41
chage resource to get, i don’t think you are using the right sintax for resource.
Beta_Tech 2022-09-09 18:57:12
DesolatorMagno 2022-09-09 18:56:41
chage resource to get, i don’t think you are using the right sintax for resource.

It can’t be get, resource is for many preset routes

DesolatorMagno 2022-09-09 18:57:38
But why would you give it a name if is a resource?
DesolatorMagno 2022-09-09 18:57:55
Route::resource(‘photos’, PhotoController::class);
DesolatorMagno 2022-09-09 18:58:29
You give the name for the method in other routes, in resources you don’t.
Beta_Tech 2022-09-09 18:59:32
He should remove ‘index’
DesolatorMagno 2022-09-09 19:00:00
The error is telling you, it expect a string (Controller::class) as second paramether, but you are passing a array.
Beta_Tech 2022-09-09 19:00:46
bekbekbekkelazz 2022-09-09 18:56:28
laravel_discuss-137606.jpg

Change to

Route::resource(‘products’, ProductsController::class);

DesolatorMagno 2022-09-09 19:01:30
Yes… the same thing i said…
Beta_Tech 2022-09-09 19:01:59
Yes
bekbekbekkelazz 2022-09-09 19:03:17
Thank mate solved problem, sorry if i made you confused
TheHunter_95 2022-09-09 19:06:41
dnshkmr73 2022-09-09 06:13:47
laravel_discuss-137606.jpg
We have urgent requirement for paython developer
Experience 2 year
Whatsapp no +919960841818
Email id: dnshkmr73@gmail.com
www.rpmltech.com

What is paython ?
U invented ?

Ronnie 2022-09-09 19:19:23
DesolatorMagno 2022-09-09 18:57:55
laravel_discuss-137606.jpg
Route::resource(‘photos’, PhotoController::class);

Sounds correct..more so for the resource parameter.
Their names come automatically…

Ronnie 2022-09-09 19:20:18
DesolatorMagno 2022-09-09 18:58:29
laravel_discuss-137606.jpg
You give the name for the method in other routes, in resources you don’t.

Right though these are functions..,😂🤝🏿

DesolatorMagno 2022-09-09 19:20:30
Ronnie 2022-09-09 19:19:23
laravel_discuss-137606.jpg
Sounds correct..more so for the resource parameter.
Their names come automatically…

Yes, but still you can configure aditional things, like what routes from the resource you use.

DesolatorMagno 2022-09-09 19:21:41
Ronnie 2022-09-09 19:20:18
laravel_discuss-137606.jpg
Right though these are functions..,😂🤝🏿

“In Object Oriented Programming in PHP, methods are functions inside classes. Their declaration and behavior are almost similar to normal functions, except their special uses inside the class.”

Ronnie 2022-09-09 19:25:03
DesolatorMagno 2022-09-09 19:21:41
laravel_discuss-137606.jpg
“In Object Oriented Programming in PHP, methods are functions inside classes. Their declaration and behavior are almost similar to normal functions, except their special uses inside the class.”

Yeah you are right.
Thanks for the correction.

DesolatorMagno 2022-09-09 19:26:14
Ronnie 2022-09-09 19:25:03
laravel_discuss-137606.jpg
Yeah you are right.
Thanks for the correction.

No problem, glad to help.

2022-09-09 19:55:35
Anand Tujare 2022-09-09 18:50:01
laravel_discuss-137606.jpg
Use asset()

Can I use it with vuejs and laravel ?

2022-09-09 19:55:56
umeshkrrana 2022-09-09 18:44:05
laravel_discuss-137606.jpg
There is issue with absolute path. I guess you have given the incorrect path. Please check it by inspecting the image

404 error in console

SasEldin 2022-09-09 19:56:58
Hello, I’m working with vue js (option api ) trying to use apollo js with pinia i couldn’t find resources for that particular issue if any one could help
umeshkrrana 2022-09-09 19:57:10
2022-09-09 19:55:56
laravel_discuss-137606.jpg
404 error in console

Check in the element

2022-09-09 19:57:38
umeshkrrana 2022-09-09 19:57:10
laravel_discuss-137606.jpg
Check in the element

Img/logo.png

2022-09-09 19:57:48
I’m using inertiajs
bekbekbekkelazz 2022-09-09 20:12:54
laravel_discuss-137634.jpg

bekbekbekkelazz 2022-09-09 20:12:55
laravel_discuss-137635.jpg
how to show this to card
bekbekbekkelazz 2022-09-09 20:13:31
laravel_discuss-137636.jpg
I tried like this but I can’t
Mohammed Iliyas 2022-09-09 20:22:09
I need deployment my laravel application please help me
Beta_Tech 2022-09-09 20:48:09
bekbekbekkelazz 2022-09-09 20:13:31
laravel_discuss-137636.jpg
I tried like this but I can’t

Explain better, what are you trying to achieve?

Web_developr 2022-09-09 20:50:16
laravel_discuss-137641.jpg

Web_developr 2022-09-09 20:50:16
laravel_discuss-137640.jpg
Please i need help on how to install laravel
Web_developr 2022-09-09 20:50:17
laravel_discuss-137646.jpg

Web_developr 2022-09-09 20:50:17
laravel_discuss-137645.jpg

Web_developr 2022-09-09 20:50:17
laravel_discuss-137644.jpg

Web_developr 2022-09-09 20:50:17
laravel_discuss-137643.jpg

|