by Devin Yang
(This article was automatically translated.)

Published - 2 years ago ( Updated - 2 years 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,artisan

About the operation of --env in Laravel's artisan

This article uses Laravel 9.40.1 for operation. I believe many people know the usage of --env, but I still provide some information for Laravel beginners. In the artisan command, we can use --env to specify different .env files, so that under different subdomains, I can use different environments or even different databases. You should have also noticed that this site uses a multilingual environment, do you write two sets? Of course not, basically I created multiple .env in the same Project.

docker laravel

Chatting about D-Laravel's console commands

D-Laravel's console command allows us to quickly understand what he executes. How is it executed if docker-compose is used? Let's see.