Intro to Alpine.js in Just 7 Minutes

  Рет қаралды 47,505

Laravel Daily

Laravel Daily

3 жыл бұрын

There's this small JavaScript framework called Alpine.js that will help you with small dynamic interactions on your pages.
Link to Alpine: github.com/alpinejs/alpine
Livewire with Alpine: laravel-livewire.com/docs/2.x...
- - - - -
Try our Laravel QuickAdminPanel: bit.ly/quickadminpanel
Enroll in my Laravel courses: laraveldaily.teachable.com

Пікірлер: 39
@thatsenam9183
@thatsenam9183 3 жыл бұрын
Nice to see that you are sponsoring that project.
@gadgetkh9408
@gadgetkh9408 3 жыл бұрын
Can you please make more videos on Laravel + Livewire + TailwindCSS + AlpineJS together? Thank you!
@enkiimuto1041
@enkiimuto1041 8 ай бұрын
Thank you for this tutorial, it was a very clear explanation.
@tanzimibthesam5861
@tanzimibthesam5861 3 жыл бұрын
Alpine Js is awesome.I am so happy Povilas is covering every bit n Alpine to me is a direct replacement of Jquery
@stygis
@stygis 3 жыл бұрын
All of them start small...
@turdakhov
@turdakhov 3 жыл бұрын
Thank you for this video! And thank you for your work! You are awesome!
@AlfredoElizondoLife
@AlfredoElizondoLife 3 жыл бұрын
Caleb tweeted a roadmap for Alpine, and it seems that it’s getting bigger and more potent in order to provide more functionality to livewire. Haven’t taken a deep dive into it, but maybe it has to do with the inertia’s vue combo. Nevertheless the future of php look’s very promising, I wonder how it will compete with next.js the following years.
@AlfredoElizondoLife
@AlfredoElizondoLife 3 жыл бұрын
On another note, the last thing you mention about vue for more complex stuff, you can also run more complex and bigger scripts on the bottom of your component and init them from the x-data directive, the difficult thing there is entangling them with live wire. Maybe there’s a nice niche for another course.
@LucianoTonet
@LucianoTonet 3 жыл бұрын
Very like Vue. Thanks Povilas for illuminate my days :D
@AsjadJawed
@AsjadJawed 7 күн бұрын
nice intro to alpine.js
@SergeyNeskhodovskiy
@SergeyNeskhodovskiy 3 жыл бұрын
4:19 I've left the life of tangling together backend and frontend code so far behind, and screens like these remind me I had all sorts of good reasons to do so.
@marccawood
@marccawood 6 ай бұрын
4:19 is all frontend code
@MayankSinghParmar
@MayankSinghParmar Жыл бұрын
Helpfull video. Thanks!
@kupapopol1980
@kupapopol1980 3 жыл бұрын
Sir Can QGIS map can embed on laravel because our project is Web Based GIS and I plan to use laravel to create a website. Thank you
@vaidenait
@vaidenait 3 жыл бұрын
can i to read dom objects with x-for ? .. o just arrays ?
@andy.robinson
@andy.robinson 3 жыл бұрын
Is separation of concerns just for dinosaurs these days?
@PovilasKorop
@PovilasKorop 3 жыл бұрын
Yup, pretty much. For the record, I'm sad about it, too, and I miss good old MVC.
@andy.robinson
@andy.robinson 3 жыл бұрын
@@PovilasKorop Ahh good, I'm not the only one then! Cheers 🦖
@Rundik
@Rundik Жыл бұрын
With alpine and tailwind you can never leave your html file. Imagine someone loves this bloody mess. It's xml attribute hell from 2000s all over again.
@mohammadmohammadi2724
@mohammadmohammadi2724 2 жыл бұрын
thanks for video. I have a question is this a good stack? Livewire, Tailwind and Alpine? for small projects and large ones? and I'm going to replace bootstrap with Tailwind and Jquery with Alpine and use livewire what is your opinion?
@LaravelDaily
@LaravelDaily 2 жыл бұрын
Sure it's a good stack but it should be your choice, what you're comfortable with
@shahin2014
@shahin2014 Жыл бұрын
How to implement alpine mask plugin in larVel node npm
@An_Najib
@An_Najib 3 жыл бұрын
Lumen Rest API using Dusterio, Dingo, CORS. And integrate it with WEB-Base using Ajax or vue straight request please
@PunyFlash
@PunyFlash 3 жыл бұрын
Well it's cool if you making some landing layout as freelance job for few hours, but this is dead for commercial projects - deffinitly adds more problems then benefits.
@dmdk8301
@dmdk8301 3 жыл бұрын
In 5 years will be back to notepad++) Alpine seems useful for clent-pages for small utility cases, but writing all in html is really back to 00 or even earlier
@ShabbeyRoadMusic
@ShabbeyRoadMusic 3 жыл бұрын
That was exactly my thought. But I can also appreciate Povilas' points/examples that use it for small, simple things. I could definitely use it rather than **some** of the heftier jquery stuff in my code. Thanks Povilas!
@J90JAM
@J90JAM 2 жыл бұрын
“Sooner or later, everything old is new again.” Although things like Alpine & Tailwind do things very differently to back then, it's just the inline style that's the same.
@toitespasmoi
@toitespasmoi 3 жыл бұрын
Yeeeeet
@seyidtakele8158
@seyidtakele8158 3 жыл бұрын
I am very comfortable with vuejs inertia and i will never switch to livewire or blade. Do still i need this ?
@aashiqhasnat2
@aashiqhasnat2 3 жыл бұрын
This simple example can be done with vanilla js...no need to learn another framework, or you can use Vue From CDN
@PovilasKorop
@PovilasKorop 3 жыл бұрын
If you're comfortable with something, don't follow the hype, use whatever works for you.
@ivanradojevic8887
@ivanradojevic8887 3 жыл бұрын
Maybe you need for SEO.
@dmdk8301
@dmdk8301 3 жыл бұрын
If you dont need safe ssr why not
@dominiks5318
@dominiks5318 Жыл бұрын
IMO framework not worth the time. Vanilla JS is just enough for small things
@michaellevi6743
@michaellevi6743 2 жыл бұрын
Hi having an issue getting a button to work. I have this is my section => x-data="{showCards: 'all', activeClasses: 'bg-primary text-white',inactiveClasses: 'text-body-color hover:bg-primary hover:text-white',}" class="max-w-screen-xl px-4 py-16 mx-auto sm:px-6 lg:px-8"> but th button isnt opening: => All Projects Any feedback on what I am not doing correctly, VsCose keeps saying there is an error which is the following: Module build failed (from ./node_modules/babel-loader/lib/index.js): SyntaxError: /Volumes/staging/portfolio/src/components/Projects/Projects.jsx: Unexpected token (29:22) 27 | 28 | > 29 |
@MagnusAnand
@MagnusAnand 3 жыл бұрын
Have you tried HTMX.org?
Alpine JS Tutorial | Build a Todo App
33:48
The Code Creative
Рет қаралды 16 М.
Say No To Complexity With AlpineJS - Caleb Porzio
32:04
JavaScript Conferences by GitNation
Рет қаралды 17 М.
Who enjoyed seeing the solar eclipse
00:13
Zach King
Рет қаралды 137 МЛН
INO IS A KIND ALIEN😂
00:45
INO
Рет қаралды 23 МЛН
HTMX: 3 IRL Use Cases
18:33
ThePrimeTime
Рет қаралды 100 М.
3 Tips to Drop Junior Mindset
6:17
Laravel Daily
Рет қаралды 3,5 М.
AlpineJS - The Most Fun You'll Ever Have Without a JavaScript File
5:08
Livewire or Vue.js: Which to Use When?
12:13
Laravel Daily
Рет қаралды 1 М.
The Return of jQuery (Not really, just Alpine.js)
23:40
LearnWebCode
Рет қаралды 9 М.
Getting Started with Alpine.js
15:09
DigitalOcean
Рет қаралды 6 М.
PHP on the frontend! No more Javascript!
14:47
Aaron Francis
Рет қаралды 113 М.
Livewire Demo: Full-Page Components in a Reusable Structure
9:15
Laravel Daily
Рет қаралды 70 М.
What's the Future of Livewire and Alpine.js?
9:52
Laravel Daily
Рет қаралды 20 М.
Главные сюрпризы Met Gala 2024
0:51
Lion Ring (Лионринг)
Рет қаралды 10 МЛН
Кулинарный лайфхак с лепешками #shorts
0:49
ПавЭл Сажин
Рет қаралды 2,5 МЛН