Stats: 3,191,366 members, 7,943,885 topics. Date: Monday, 09 September 2024 at 07:31 AM |
Nairaland Forum / Science/Technology / Programming / I Need help With Vuejs/laravel (787 Views)
Make Payment With Vuejs, Express And Stripe / Frontend Engineer With Vuejs Experience Wanted. / Vuejs Confirm Dialog Plugin (2) (3) (4)
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: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: ![]() ![]() 1 Like |
(1) (Reply)
Complete Ethical Hacking Course Using Python Beginner To Advanc / Am I On The Right Path? My Programming Journey / Exciting It Opportunities Out There.
(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 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 11 |