Laravel Form: From Blade to Vue.js + API

Laravel Daily
Laravel Daily
56.2 هزار بار بازدید - 4 سال پیش - A demo-project with (almost) live-coding
A demo-project with (almost) live-coding the transformation: Laravel-only form changed to a Vue.js component with submission, success message, and validation - all handled in the Vue component.

0:00 Intro and Original Laravel Form
1:09 Replace Blade Form with New Vue.js Component
3:45 Compiling JavaScript with "npm install" and "npm run dev"
5:06 Loading Categories for Dropdown in the Form
7:26 First Successful Submit of the Form
11:36 Short Notice about CSRF Token
12:05 Showing Success Message Alert
13:17 Showing Validation Errors

Repository: https://github.com/LaravelDaily/Larav...

Related video:
- Learn Vue.js Basics from Default Laravel Installation Learn Vue.js Basics from Default Lara...

- - - - -
Try our Laravel QuickAdminPanel: https://bit.ly/quickadminpanel
Enroll in my Laravel courses: https://laraveldaily.teachable.com
4 سال پیش در تاریخ 1399/04/19 منتشر شده است.
56,242 بـار بازدید شده
... بیشتر