build-a-guestbook-with-laravel-and-vuejs | source code for https : //scotch.io/ @ | Learning library
kandi X-RAY | build-a-guestbook-with-laravel-and-vuejs Summary
kandi X-RAY | build-a-guestbook-with-laravel-and-vuejs Summary
The source code for https://scotch.io/@RachidLaasri/build-a-guestbook-with-laravel-and-vuejs tutorial.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Create a new Signature .
- Return an array representation of the object .
- Create new user .
- Map the routes .
- Handle user authentication .
- Create the password reset table .
- Updates the signature .
- Register commands .
- Render the template .
- Get user avatar .
build-a-guestbook-with-laravel-and-vuejs Key Features
build-a-guestbook-with-laravel-and-vuejs Examples and Code Snippets
Community Discussions
Trending Discussions on build-a-guestbook-with-laravel-and-vuejs
QUESTION
I'm trying to integrate Laravel with Vue, and further down the line Nuxt, in the hope that I can integrate snazzy page transitions like the ones shown on http://page-transitions.com into my websites.
I've been reading a tutorial about using Vue with Laravel; https://scotch.io/tutorials/build-a-guestbook-with-laravel-and-vuejs, and I was pleased to find that Laravel ships with a Vue implementation, so I thought there'd be quite a lot of info on how to use the two in combination, but there doesn't seem to be.
I completed the tutorial and made the guestbook as it was described. I'm now trying to build upon that.
Specifically, Im trying to create individual pages for each of the guestbook entries.
I do have quite a bit of experience using Laravel, but only what I've described above with Vue.
So, in order to create the individual pages, I've created a new route in the routes/web.php
file;
Route::get('signature/{id}','SignaturesController@show')->name('signature');
I've then created a new code block in app/Http/Controllers/SignaturesController.php
to deal with this request;
public function show()
{
return view('signatures.signature');
}
I've created the specified view in resources/views/signatures/signature.php
;
ANSWER
Answered 2018-May-03 at 14:48You will need to pass the data to your vue component
Maybe something like this?
In your view:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install build-a-guestbook-with-laravel-and-vuejs
PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page