To learn how to create a Vue component, render it inside another component in 5 minutes.
Creating a EmployeeList component
Let’s create our first component, which will display employee lists
/src/componentsdirectory, create a new file named EmployeeList.vue, and Open the file in your code editor.
Your file should now look like this:
In this article, will guide you on how we can easily create migration files from an existing database
Before start execution, you have to know about how laravel migration works https://laravel.com/docs/5.8/migrations
Step 1: Install the Migrations-Generator package
Xethron created amazing tools that help us generate migration source code from an existing database in Laravel 4.
Run the following composer command:
composer require —-dev "xethron/migrations-generator"
Step 2: Generate Migration Files from existing Tables
php artisan migrate: generate
Step 3: Generate Migration for specific tables
php artisan migrate:generate table1,table2,table3,table4,table5
Step 4: Generate Migration except for some tables
php artisan migrate:generate — ignore="table3,table4,table5"
Thank you for reading.
I would like to hear your views on it. If you have any questions or suggestion please leave the comment below.
Have a nice day
— Software Developer at Brique Technology