Hi, anyone here using laravel and vuejs?

|
2022-05-18 20:55:19
allandelloson 2022-05-17 07:55:37
hi, anyone here using laravel and vuejs? should we separate vuejs as another project or should we include it within laravel?

Depends on your use case. if you’re using laravel for API only, you can host front end frameworks (vue, react, any other) separately.

Acird Burn 2022-05-18 21:02:28
i migrated a project from 1 computer to another but facing this error has anyone faced it before SpatiePermissionExceptionsPermissionDoesNotExist
There is no permission named “ for guard web.
christogonusobasi 2022-05-18 21:19:30
Acird Burn 2022-05-18 21:02:28
i migrated a project from 1 computer to another but facing this error has anyone faced it before SpatiePermissionExceptionsPermissionDoesNotExist
There is no permission named “ for guard web.

I haven’t experienced this. But confirm that you have run the migration on the migration on the new computer

Mr. Joker 2022-05-18 21:55:35
Hello guys any one can help me how can i get sum of numbers from child row like share and invest
Share is parent and invest is child i want take the sum of invest from share
veddishant 2022-05-18 21:56:54
Mr. Joker 2022-05-18 21:55:35
Hello guys any one can help me how can i get sum of numbers from child row like share and invest
Share is parent and invest is child i want take the sum of invest from share

https://laravel.com/docs/8.x/eloquent-relationships#counting-related-models

Laravel – The PHP Framework For Web ArtisansLaravel
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.
Acird Burn 2022-05-18 22:39:16
christogonusobasi 2022-05-18 21:19:30
I haven’t experienced this. But confirm that you have run the migration on the migration on the new computer

Yes I did

bigbyi 2022-05-18 23:57:57
Hello gays I want to create a shopping cart box
lilbreezyy 2022-05-19 00:04:44
laravel_discuss-121168.jpg

lilbreezyy 2022-05-19 00:04:44
laravel_discuss-121167.jpg
Does anyone know why it doesn’t vaildate first name and last name, although I added them to the database
EmranAlHaddad 2022-05-19 00:45:21
Hellow guise, I need some one who know about online google cloud share point

I will pay for this service. Come in private plz

Bright 2022-05-19 01:13:29
lilbreezyy 2022-05-19 00:04:44
Does anyone know why it doesn’t vaildate first name and last name, although I added them to the database

But in your validation, I didn’t see name

lilbreezyy 2022-05-19 01:14:27
Bright 2022-05-19 01:13:29
But in your validation, I didn’t see name

Yeah that’s the problem, it doesn’t validate it

#Math 2022-05-19 01:23:33
lilbreezyy 2022-05-19 01:14:27
Yeah that’s the problem, it doesn’t validate it

send your validation code

lilbreezyy 2022-05-19 01:24:45
#Math 2022-05-19 01:23:33
send your validation code

Can you be a bit specific, if you don’t mind, still learning like my register controller?

DesolatorMagno 2022-05-19 01:25:47
You just say it is not validation, so we need to see the code that take care of the validation.
#Math 2022-05-19 01:26:23
OG Where’s the data validated? This part
#Math 2022-05-19 01:26:34
DesolatorMagno 2022-05-19 01:25:47
You just say it is not validation, so we need to see the code that take care of the validation.

Right

lilbreezyy 2022-05-19 01:26:55
laravel_discuss-121180.jpg

lilbreezyy 2022-05-19 01:27:08
I think this is it if I’m correct
DesolatorMagno 2022-05-19 01:27:46
Ok, now show the controller.
lilbreezyy 2022-05-19 01:28:19
laravel_discuss-121183.jpg

lilbreezyy 2022-05-19 01:28:43
That’s the controller for it
lilbreezyy 2022-05-19 01:29:04
laravel_discuss-121185.jpg

lilbreezyy 2022-05-19 01:30:09
I also have it filled in the fillable and migration but it doesn’t show an error, just renders the same page
lilbreezyy 2022-05-19 01:40:40
Oh I found the solution, I had a space, in the model, (last name) and it should be (lastname) same as the controller and migration
lilbreezyy 2022-05-19 01:40:56
Thanks anyways bros
allandelloson 2022-05-19 02:07:25
fareezk 2022-05-17 08:32:09
Depends on if you use vuejs as a single page application or not. Also if you use inertia it can sit very well in laravel project

we created a separate laravel project for api. our dev is contemplating whether we create a separate project for vuejs or include it in laravel where laravel serves as the frontend. thanks

littlefish111 2022-05-19 04:17:22
на ларе только jobs есть но они черес крон работают. while тожа не получетца иза execution time. лутше напишы преложения в C
fareezk 2022-05-19 05:46:09
allandelloson 2022-05-19 02:07:25
we created a separate laravel project for api. our dev is contemplating whether we create a separate project for vuejs or include it in laravel where laravel serves as the frontend. thanks

I would suggest to keep it in laravel. It’s easier to maintain than having two different folders and deployments. Checkout inertia js

WEBLYSS SOFTWARE 2022-05-19 07:55:21
HI, ANY ESTEEMED COMPANY/ORGANIZATION/CORPORATE INTERESTED FOR OWN DOMAIN BASED SECURED EMAIL SOLUTIONS THROUGH GMAIL/GOOGLE WORKSPACE ACCOUNT/ OFFICE 365 / ZOHO MAIL IN A DISCOUNTED COST. PLS PM OR CALL +918763609732/SALES@WEBLYSS.COM …….WE ARE ALSO DESIGNING WEBSITE/ALL KIND OF GRAPHICS/VIDEO. ( ONLY SERIOUS INQUIRY PLS),THANK YOU
Jony Chaudhari 2022-05-19 08:36:26
laravel_discuss-121198.jpg

Jony Chaudhari 2022-05-19 08:38:05
laravel_discuss-121200.jpg

natghi2010 2022-05-19 08:55:29
Im trying to seed some data
natghi2010 2022-05-19 08:55:40
using factory
natghi2010 2022-05-19 08:56:02
AppModelsDistribution::factory(20)->create(
[“distributor_type”=>”Distribution Resource”,
“reciever_type”=>”Shop”,
“distributor_id”=>DistributionResource::inRandomOrder()->first()->id,
“reciever_id”=>Shop::inRandomOrder()->first()->id
]);
|