babusharif's avatar

Still many things to cover

How can i use dynamic url instead of

Route::get('/api/messages', function(){
        return \App\Project\Message::all();
    });

like Route::get(inbox/{user}/{applicantid}); how to use {user}, and {applicantid}) in

this.$http.get('/api/messages',function(messages){
                this.$set('messages', messages);

how to use php variable and eloquent in directives, how to use pagination, how to use arguments in controller method and return to json.... wwwwoooooww lot more things to learn jeff

0 likes
3 replies
joedawson's avatar

I'm sure some of this stuff will appear on Laracasts at some point in the future. There are some good examples on the vue website though you can dig into.

Especially the HackerNews clone.

Please or to participate in this conversation.