emr / vuecrud
Vue Crud
1.0.3
2019-07-06 11:13 UTC
This package is auto-updated.
Last update: 2024-04-10 18:50:12 UTC
README
Includes laravel, vuejs, and npm with CRUD (Create, Read, Update, Delete)
Author:Emrullah İLÇİN
Installation
- Create laravel project // use a project name; ex: proje1 or any
composer create-project laravel/laravel proje1
cd proje1
- Install vuecrud
composer require emr/vuecrud
edit .env
// add your user and password into mysql
DB_DATABASE=test
DB_USERNAME=test
DB_PASSWORD=test
- Sql table create
php artisan migrate
4.1. if you want see DB table with "php artisan"
php artisan tinker
# test; See "null" message; because the table is empty; it is OK;
>>>Emr\VueCrud\VueCrud::all();
>>>q
- Make publish
created "public/vuecrud/js/app.js" and "app.css"
php artisan vendor:publish --provider="Emr\VueCrud\VueCrudServiceProvider" --tag=public --force
js compiled with "npm run dev"
Usage
Web server start
ex: php artisan serve --host=94.177.187.77 --port=8000
Browser test
ex: http://94.177.187.77:8000/vuecrud/1