Full Stack Vue.js and Laravel – Part 2

Step that are described in this video

1.Create a controller file using command – sudo php artisan make:controller MainController
2.In this MainController file create a public method and name it as index.This function will be used to render main.blade.php file located in “resources/views/”.
3.Create a view file name it as “main.blade.php” that will used to render main vue component (App.vue)
4.Define a route file to render content of the “main.blade.php” .
5.Install node…

, , , , ,

1 thought on “Full Stack Vue.js and Laravel – Part 2

Leave a Reply

Your email address will not be published. Required fields are marked *