by Devin Yang
(This article was automatically translated.)

Published - 1 year ago ( Updated - 1 year ago )

Livewire is a full-stack framework for the Laravel framework.
It was the first time I wrote code, and he was probably the one who was able to write and marvel at the magic.
My colleague also marveled while writing after being pushed by me.
When I first learned Vue, I was not so surprised by him.

This article introduces how fun Livewire is through the simple operation I recorded.
Imagine that components can be reused, the back-end PHP content changes, the front-end screen does not need to be completely reloaded,
PHP variables can be directly bound to the front-end screen,

There are many more The powerful functions are not introduced in this film, so I leave it to everyone to study by themselves.

Here, I share how to upload files with Livewire through this short video. This is not a teaching video, but I believe that everyone can Google the relevant instructions for the code in the video.
Actually, there are not many things, because it is really too simple:p

https://youtu.be/JPiFGYLn5po

 

 



 

Tags: laravel laravel livewire

Devin Yang

Feel free to ask me, if you don't get it.:)

No Comment

Post your comment

Login is required to leave comments

Similar Stories


docker,laravel

How to use multiple YAML files to execute multiple docker container services

This video introduces how to use the docker-compose command to specify multiple YAML structure language configuration files to create container execution, and introduces how we simplify docker-compose by using .env in the D-Laravel environment Start command.

laravel docker

About D-Laravel's project mode

If you are a new user, I suggest you use my latest environment phpenv instead. https://github.com/DevinY/phpenv

dlaravel

Use D-Laravel to build your own dedicated php fpm image.

D-Laravel has provided a built php image, if you need to adjust it yourself and build your own dedicated image is quite simple. 1. First, enter dockerfiles/fpm in D-Laravel, and select the PHP version you want to build, such as 7.2. The command is as follows...