-
Open your terminal.
-
Clone this repo:
git clone https://github.com/herusdianto/laravel-vue-crud.git
-
Once finished, change directory to laravel-vue-crud:
cd laravel-vue-crud
-
Install all laravel dependencies:
composer install
-
Copy .env file:
cp .env.example .env
-
Modify
DB_*
value in.env
with your database config. -
Generate application key:
php artisan key:generate
-
Run migration table:
php artisan migrate
-
Create a symbolic link:
php artisan storage:link
-
Serve the app:
php artisan serve
-
Open
http://localhost:8000/
in your web browser.
-
Open your terminal and change directory to
laravel-vue-crud
. -
Run this command:
php artisan tinker
-
Type this script:
factory(App\Student::class, 100)->create();
-
Hit
Enter
. You can create dummy data as many as you want.
-
Open your terminal and change directory to
laravel-vue-crud
. -
Make sure you have nodejs installed and run this command:
npm install
-
Make sure you have bower installed and run this command:
bower install
-
Make sure you have gulp installed and run this command:
gulp watch
-
All files (components, etc) are located in
resources/assets
.
Check out the demo here.