Published on September 10, 2020
Bagaimana cara pakek Laravel UI dengan Laravel 8
Lakukan dulu semua ini. ``` $ laravel --version (4.0.3) $ laravel new l8-auth $ cd l8-auth $ l8-auth > composer require laravel/ui $ l8-auth > artisan ui react --auth $ l8-auth > npm install && npm run dev ``` Buat database baru dengan nama **l8auth** dan buka file `.env` ganti nama databasenya jadi `DB_DATABASE=l8auth` Kemudian silahkan Migrate ```terminal l8-auth > migrate ```` Setelah itu, buka web.php ```php <?php use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Route; use App\.
Read More
Published on June 08, 2020
Upload Image with Vue JS & Laravel Image Intervention
I'll assumed you have been setup with your project so I won't tell your about the structur folder. Now let's imagine you already have the vue component to upload an image. ```html <template> <div id="app"> <form action="#" method="post" @submit.prevent="store" enctype="multipart/form-data"> <p> <input type="file" @change="imageHandler"/> </p> <p> <input type="text" v-model="form.name" placeholder="Name" /> </p>.
Read More
Published on May 15, 2020
Pertanyaan tentang seri "Laravel 7 dari Awal"
Dalam artikel ini saya akan menjawab semua pertanyaan - pertanyaan kalian tentang seri [Belajar Laravel 7 Dari Awal](https://parsinta.com/series/belajar-laravel-7-dari-awal-1587020073) yang ada di [Parsinta](https://parsinta.com). Saat ini, seri mempunyai 19 episode yang bisa kalian tonton gratis. 2 penambahan video hari ini yang tidak kalah pentingnya ketika Anda menggunakan Laravel. Alright, jadi yang selama ini yang bertanya di youtube maupun yang langsung DM saya terkait *"Apakah seri ini sudah berakhir atau pun be.
Read More
Published on May 14, 2020
Markdown in Laravel
At the time it's writing, I'm using Laravel v7.11.0, which in my case it's latest version of laravel. I will assume that you want fetching the article from the database that have basic structur field like so. ```php $table->string('thumbnail'); $table->string('title'); $table->string('slug'); $table->text('body'); ``` And of course, the body field contains markdown syntax. > if you don't know what is markdown, you can read [here](https://www.markdownguide.org/getting-started/). Now let's say you want to sho.
Read More
© 2020 Irsyad Notes