Welcome, Guest: Join Nairaland / LOGIN! / Trending / Recent / New
Stats: 2,796,898 members, 6,682,126 topics. Date: Wednesday, 19 January 2022 at 11:51 AM

I Need help With Vuejs/laravel - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / I Need help With Vuejs/laravel (664 Views)

Laravel Vuejs Video Manager Application Tutorial Series / Frontend Engineer With Vuejs Experience Wanted. / Vuejs Confirm Dialog Plugin (2) (3) (4)

(1) (Reply) (Go Down)

I Need help With Vuejs/laravel by Karlebolu(m): 7:52pm On Apr 13, 2020
There is this method called in a vue component that was not imported from anywhere in a lesson I am following on github.

https://github.com/connor11528/laravel-forum/blob/master/resources/assets/js/components/Reply.vue

on line 58, a canUpdate computed property was defined, it reference an authorize method and I don't know where it came from.

canUpdate(){
return this.authorize(user => this.data.user_id == user.id);
},

even the computed property on line 53 something ambiguous to me

signedIn(){
return window.App.signedIn;
}
.


Please help clarify.

1 Like

Re: I Need help With Vuejs/laravel by Karlebolu(m): 10:37am On Apr 14, 2020
I was able to get the answer through Google search.

There is this Javascript library that does exactly what laravel authorization does, it was what the guy used albeit in a different way.

https://pineco.de/implementing-laravels-authorization-front-end/

1 Like 1 Share

Re: I Need help With Vuejs/laravel by Playforkeeps(m): 8:27pm On Apr 14, 2020
Karlebolu:
I was able to get the answer through Google search.

There is this Javascript library that does exactly what laravel authorization does, it was what the guy used albeit in a different way.

https://pineco.de/implementing-laravels-authorization-front-end/

Great google ninja skills OP, i myself tried searching for it because ostensibly it wasn't a Vue method.

1 Like

Re: I Need help With Vuejs/laravel by Karlebolu(m): 9:45pm On Apr 14, 2020
Playforkeeps:

Great google ninja skills OP, i myself tried searching for it because ostensibly it wasn't a Vue method.

cool cool

1 Like

(1) (Reply)

New Nigerian Discussion Forum / Please I Need Coldfusion 8, 9 Or Older Version / Problems With Threads And Arrays

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2022 Oluwaseun Osewa. All rights reserved. See How To Advertise. 20
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.