memulai laravel vuejs 1. install laravel composer global require laravel/installer laravel new blog 2. node component npm install --save npm install vue-router --save npm install vue-resource --save npm install laravel-elixir-vue-2 --save-dev 3. DB App\providers\App.ServiceProvider.php Schema::defaultStringLength(191); Facades\Schema; 4. php artisan migrate 5. buat kontroller dan model php artisan make:controller NamaController --resource php artisan make:model Namamodel -m (utk create migration table)
memulai laravel vuejs
1. install laravel
composer global require laravel/installer
laravel new blog
2. node component
npm install --save
npm install vue-router --save
npm install vue-resource --save
npm install laravel-elixir-vue-2 --save-dev
3. DB
App\providers\App.ServiceProvider.php
Schema::defaultStringLength(191);
Facades\Schema;
4. php artisan migrate
5. buat kontroller dan model
php artisan make:controller NamaController --resource
php artisan make:model Namamodel -m (utk create migration table)
1. install laravel
composer global require laravel/installer
laravel new blog
2. node component
npm install --save
npm install vue-router --save
npm install vue-resource --save
npm install laravel-elixir-vue-2 --save-dev
3. DB
App\providers\App.ServiceProvider.php
Schema::defaultStringLength(191);
Facades\Schema;
4. php artisan migrate
5. buat kontroller dan model
php artisan make:controller NamaController --resource
php artisan make:model Namamodel -m (utk create migration table)
Comments
Post a Comment