Alpine.js Crash Course

  Рет қаралды 115,466

Traversy Media

Traversy Media

Күн бұрын

We will learn about all of the Alpine.js directives, properties as well as stores.
Code:
codepen.io/bradtraversy/pen/N...
👇 Website & Courses:
traversymedia.com
💖 Show Support
Patreon: / traversymedia
PayPal: paypal.me/traversymedia
👇 Follow Me On Social Media:
Twitter: / traversymedia
Instagram: / traversymedia
Linkedin: / bradtraversy
Timestamps:
0:00 - Intro
2:02 - File Setup
3:41 - x-data & Components
4:15 - x-show
5:00 - x-cloak
5:52 - x-on & Events
7:26 - x-text
9:18 - x-transition
9:45 - x-effect
10:57 - x-bind
12:21 - x-model
14:22 - x-if
15:29 - x-for & Loops
17:03 - Manipulating State
18:36 - x-ref & $refs
21:04 - x-html
23:02 - $el
24:16 - $watch
25:59 - $dispatch
27:49 - $data
31:46 - Alpine Stores
37:59 - Mask Plugin

Пікірлер: 183
@WebMentorDev
@WebMentorDev 2 жыл бұрын
Finally. I can complete my TALL Stack (Tailwindcss, AlpineJs, Laravel, Livewire). Thank you so much. Appreciate it as always :)
@TheVertical92
@TheVertical92 2 жыл бұрын
Now lets get to the SHORT Stack 😁
@brhh
@brhh 2 жыл бұрын
@@TheVertical92 Svelte H.. Oracle R.. Typescript yeah we will need to work on that lol
@gradientO
@gradientO 2 жыл бұрын
@@brhh Hydrogen and React. Just mix 'em all
@WebMentorDev
@WebMentorDev 2 жыл бұрын
@@TheVertical92 hopefully SHORT Stack will give me 7 digit salary 😂
@EntyFu
@EntyFu 2 жыл бұрын
Have you tried bootstrap instead of tailwind? always wanted to try BALL stack
@janzenfaidiban
@janzenfaidiban 2 жыл бұрын
Your tutorial is always amazing. Easy to learn for everyone. Thank you Brad. Can't wait for another tutorial
@chelseabing
@chelseabing Жыл бұрын
Absolutely enjoyed this video! This channel just never misses!
@seanszukhent3313
@seanszukhent3313 2 жыл бұрын
Brad is at it again! Was happy to see this after your Laravel course. Great work!
@shaineelnayak3465
@shaineelnayak3465 2 жыл бұрын
Plain, Simple and Elegant this is awesome
@kaderlakhdar5735
@kaderlakhdar5735 2 жыл бұрын
Thank you brad , another video to add to my Brad playlist ❤️
@travholt
@travholt 2 жыл бұрын
This is very helpful! My brain likes to learn _that_ something can be done. I might not remember exactly _how_ later, but then I can look it up.
@younesmahmoud8543
@younesmahmoud8543 Жыл бұрын
Thanks brad!!. Your tutorial is always amazing.
@bobhafemeister9652
@bobhafemeister9652 2 жыл бұрын
Thanks Brad, loving alpine and htmx
@th3ja
@th3ja 7 ай бұрын
Brad thanks for everything! First time trying out Alpine and I must say It's amazing!
@JoeEnos
@JoeEnos Жыл бұрын
Great video. I love this pace, getting to see a ton of material in a short time, so I can be better prepared for a deeper dive.
@nausiac
@nausiac 2 жыл бұрын
I follow you since 6 years back from Mexico
@aramkeusgerian9618
@aramkeusgerian9618 2 жыл бұрын
My prayers were answered :D Thanks a lot Brad!
@CHRISCANHAMC4NH4M
@CHRISCANHAMC4NH4M Жыл бұрын
This is a refreshing tutorial and I was kept engage which is sometimes a problem of mine but this great. Very helpful for getting my head around Alpine for a TALL Stack. :D
@viner1000
@viner1000 4 ай бұрын
Fantastic. Thanks as always, Brad!
@Sium0239
@Sium0239 Ай бұрын
Absolutely amazing! Thank you a lot!
@YasinNabi
@YasinNabi 2 жыл бұрын
this is one of the best videos I have just watched today... thanks for sharing ...
@bobbyiliev_
@bobbyiliev_ 2 жыл бұрын
Thank you Brad! You ar an absolute legend!
@paulthomas1052
@paulthomas1052 Жыл бұрын
Thanks. Another great introduction.
@frankwang0721
@frankwang0721 8 күн бұрын
Thank you so much for the tutorial!
@ajaysdigitalart3320
@ajaysdigitalart3320 Жыл бұрын
Very well explained ... Worth watching.. Good job👍👍👍
@hithere5607
@hithere5607 11 ай бұрын
Thank you, amazing tutorial!
@the6fallenangels596
@the6fallenangels596 Жыл бұрын
u taught me both tailwind and alpine👍
@kaypakaipa8559
@kaypakaipa8559 2 жыл бұрын
The land of Javascript never stops giving! Tht said, I like this one, its like VueJs
@this.channel
@this.channel 2 жыл бұрын
Cool, Alpine is my go to JS library.
@DanFarfan
@DanFarfan Жыл бұрын
Excellent. Thanks for sharing.
@JEsterCW
@JEsterCW Жыл бұрын
Alpine is like jquery vue version, but more lightweight, but as powerful as vue. *My the most powerful stack combination is:* *- Alpine* *- HTMX* *- Lit* *- Tailwind* *- Express* I swear this is like the most hardest in the good way stack for building pretty powerful web apps without the whole boilerplate in react etc. I highly recommending this mix ;D
@MarkVolkmann
@MarkVolkmann 5 ай бұрын
I would replace Node and express with Bun and Elysia.
@deidyomega
@deidyomega 3 ай бұрын
Replacing lit + express with Python + Django. I'm glad I can finally effectively write Python full stack.
@maximumcockage6503
@maximumcockage6503 3 ай бұрын
On the off chance you read this comment, I'd suggest swapping Express and Node out with Hono and Bun.js. Hono and Bun are way faster than express. Elyisa is even faster than Hono and on par with Rust's Axum, but Hono's syntax is very similar to Express's so it's super easy to pick up.
@BlueTeK
@BlueTeK Жыл бұрын
Thank you for this nice crash course 🙏
@Rider0fBuffalo
@Rider0fBuffalo Жыл бұрын
I have used knockout for years and was interested in alpine... It appears to be pretty much the same thing on the surface but instead of ko- use x-. Obviously there are some differences that alpine has that improve on ko so I am looking forward to using it on a static product pages. Good intro.
@TioJobs
@TioJobs 2 жыл бұрын
Nice video man! Thank you so much! 😍🚀
@AbuAbdirohman
@AbuAbdirohman Жыл бұрын
Easy, Simple & Useful 👍
@B3DFire
@B3DFire 7 ай бұрын
Nice tutorial, watched the whole thing
@potantirittisak8494
@potantirittisak8494 5 күн бұрын
THANK YOU!
@MotionInMotion1975
@MotionInMotion1975 Ай бұрын
This is incredible, you just fucked up my mind after working with Angular for 5 years....
@ferneyvilla7203
@ferneyvilla7203 2 жыл бұрын
Super!! Thank you very helpful
@nanobrains4982
@nanobrains4982 2 жыл бұрын
Thanks Mr.Brad!
@giftjonas2447
@giftjonas2447 2 жыл бұрын
Thanks Brad 😃🙏🏽
@Fullflexno
@Fullflexno 2 жыл бұрын
Will check this out! Cheers from Norway👍
@kaderlakhdar5735
@kaderlakhdar5735 2 жыл бұрын
Hilsen fra norge også 😁👍
@Fullflexno
@Fullflexno 2 жыл бұрын
@@kaderlakhdar5735 🔥
@rajeevprasad5836
@rajeevprasad5836 2 жыл бұрын
happy to see this video
@nanonkay5669
@nanonkay5669 8 ай бұрын
After seeing this, you have to do a tutorial on Alpine js, HTMX and templating
@briankgarland
@briankgarland Жыл бұрын
Excellent!
@mhmmdabrs6655
@mhmmdabrs6655 Жыл бұрын
awesome content 👌
@repotranstech9614
@repotranstech9614 2 жыл бұрын
How about htmx.I have used it and it's pretty powerful.
@bashiruibrahim8443
@bashiruibrahim8443 2 жыл бұрын
Thank you Sir
@dimitmoto1716
@dimitmoto1716 2 жыл бұрын
Many thanks!!!
@mduvens
@mduvens Жыл бұрын
Great stuff
@nudecode
@nudecode 2 жыл бұрын
As always great tutorial. Thanks Brad. Now for a full TALL Stack tutorial😜
@mrsan385
@mrsan385 2 жыл бұрын
whats is TALL stack
@dankogulsoy
@dankogulsoy Жыл бұрын
Awesome. Thanks
@dot6086
@dot6086 2 жыл бұрын
I'm turning 20 today. I just want to say thank you so much brad for all your videos. I've been watching these videos since I was 18 and even though I had some prior knowledge into programming, your channel really helped me shape up into the developer I am today.
@TraversyMedia
@TraversyMedia 2 жыл бұрын
Happy Birthday my friend. Thanks for sticking around. I really appreciate it and wish you the best. I am double your age and I would have loved to get started earlier.
@AhmadReshadZazai
@AhmadReshadZazai 25 күн бұрын
Thank you.
@kr4k3n_289
@kr4k3n_289 2 жыл бұрын
It's feel very similar to Vue and I love it.
@hervenacitas8265
@hervenacitas8265 2 жыл бұрын
Lately I’ve been thinking of buying cryptocurrency for retirement, I’ve set asides $350k to invest but along the line,I usually get cold feet, maybe because I have no idea what I’m doing, please I could really use some guidelines.
@mduvens
@mduvens Жыл бұрын
Yeah great tool for small/ medium projects
@anmarm.9487
@anmarm.9487 2 жыл бұрын
Finally..... I been waiting for this... When we will see advance AlpineJS? Things Like Building Custom reusable components, cross components communication, building something bit complex like Store Check out that communicate with server using Fetch API. Just suggestions 😅
@hyggedev2124
@hyggedev2124 Жыл бұрын
Tailwind + AlpineJS = fun 😊
@filiporkowski
@filiporkowski 2 жыл бұрын
I will never use it but I will watch the entire video anyway.
@dev_jeongdaeri
@dev_jeongdaeri 2 жыл бұрын
Yeah super cool! 🔥👨‍💻
@ITEducationPakistan
@ITEducationPakistan Жыл бұрын
Please make Vite Crash course for production build configuration that handles library-based syntax like JSX, Vue, and TypeScript. By using Rollup under the hood, Vite ensures performance optimization techniques like tree-shaking, lazy-loading, and common chunk splitting are implemented for your production build.
@mustaphaab7127
@mustaphaab7127 2 жыл бұрын
Hi Thanks a lot for that tutorial, i wished that you cover consuming api using alpine js Thanks again
@farhadbagheri5687
@farhadbagheri5687 2 жыл бұрын
really that was helpful
@aogunnaike
@aogunnaike 2 жыл бұрын
Thanks Brad 😀 i knew alpine js was gonna come after the Laravel tutorial, I wanna suggest a landlord tenancy tutorial for Laravel on ur next course for Udemy. Thanks for all you do. cheers!
@ajiteshmishra
@ajiteshmishra 2 жыл бұрын
I throat that too
@maxwellkjr
@maxwellkjr 2 жыл бұрын
As someone who is currently learning Laravel, this tutorial will definitely come in handy!
@maruf7956
@maruf7956 Жыл бұрын
is learning laravel worth it
@andywong2244
@andywong2244 Жыл бұрын
@@maruf7956 yes
@xrkalix
@xrkalix 2 жыл бұрын
Thanks a lot. I was trying to find something good online about Alpine but I was unable.
@ramigamal6637
@ramigamal6637 Жыл бұрын
A grate video for a grate tool :)
@shwackthenoobsac
@shwackthenoobsac 2 жыл бұрын
This is pretty cool.
@Geomaverick124
@Geomaverick124 2 жыл бұрын
This button feature would be good to swap between two different types of websites...like if you have a site on english and a site in french or spanish
@safeerahmedfarooqi9193
@safeerahmedfarooqi9193 9 ай бұрын
I was using livewire for the last 2 years but I was always afraid to use alpine in livewire.but after watching this tutorial I have better alpine understanding and now I am not afraid of using alpine with livewire components.great work brad. Keep it up.
@salimedia33
@salimedia33 2 жыл бұрын
Thank you ;)
@muhmmadirshad7376
@muhmmadirshad7376 2 жыл бұрын
Think you sir
@ogarjosephodama1878
@ogarjosephodama1878 2 жыл бұрын
Sir Brad millions of thanks for what you have done for us here. Please, can you do a complete project on real estate ór property listing with agent registering, blóg section all the good stuff either a paid cost or fréé here . Thanks Using PHP and MySQL or Laravel or you decide
@viallymboma9874
@viallymboma9874 2 жыл бұрын
really interesting...
@edmotler2115
@edmotler2115 2 жыл бұрын
As I write this it's only Thursday. So plenty of time then for at least another 3 JS frameworks to be released before the end of the week.
@virenkhokhar6305
@virenkhokhar6305 3 ай бұрын
Money sign 🙌
@ahoivik
@ahoivik 2 жыл бұрын
Something I've been struggling with is identifying a best practice dealing with where and how to store data from external apis using fetch. At the Element x-data? as an external script function call?
@sky333suraj
@sky333suraj 10 ай бұрын
Better to use Alpine as compared React or Vue as they make projects heavier to pack as standalone apps when using with vite of npm add.
@birsingh5388
@birsingh5388 2 жыл бұрын
Please create your own JS framework as well, the name could be Traverse.js 😎😃😆
@PlotTwists
@PlotTwists 2 жыл бұрын
I made an app using TALL stack where the A is Alpine back in 2021 ... it was good mostly, just some minor compatibility issue to fix
@mrsan385
@mrsan385 2 жыл бұрын
what is TALL stack
@notkylo1881
@notkylo1881 Жыл бұрын
@@mrsan385 Tailwind, Alpine, Livewire, Laravel
@laughingvampire7555
@laughingvampire7555 10 ай бұрын
this is just like htmx, reinventing angularjs
@followthesalaf5657
@followthesalaf5657 Жыл бұрын
Need a tutorial on FARM stack
@user-xz8mo9nr9c
@user-xz8mo9nr9c 2 жыл бұрын
Hello, please, make video about Solid (mini framework like React).
@muhammadidrees6650
@muhammadidrees6650 2 жыл бұрын
❤❤❤
@alexdin1565
@alexdin1565 3 ай бұрын
Please can you make a video about Fabric js?
@badcatdesign
@badcatdesign 2 жыл бұрын
Tailwind is super cool, but I wish it wasn't being used in videos like this when it's not the focus of the vid. It feels like one of the "classless" or "no-class" frameworks would be perfect to use here and allow for really clean HTML.
@dot6086
@dot6086 2 жыл бұрын
Brad three seconds into the video: *Introduces another framework Me: Another one? Brad: I can actually hear you sighing from here.
@alannetherclift678
@alannetherclift678 Жыл бұрын
Any chance you can show how to use Alpine JS with a strict Content Security Policy? I've been told it's possible but a bit involved.
@displayblock
@displayblock 2 жыл бұрын
Can you do a crash course on Petite-vue?
@EduardKhiaev
@EduardKhiaev 7 ай бұрын
can you also create an HTMX Crash course?
@maulvieyazidaprilian5679
@maulvieyazidaprilian5679 2 жыл бұрын
Tailwind is great, but I don't think it's suitable for fullstack / backend developers because in the end, everyone will create components from it, which Bootstrap has already done and to beat Tailwind, Bootstrap just need to add more utilities
@LouisDuran
@LouisDuran Жыл бұрын
23:46 Money sign. LOL
@jlambert12013
@jlambert12013 2 жыл бұрын
Is there any videos on using HTML, CSS and Vanillla JS, but that discusses maybe a Folder Structure or Standard to go by?
@ayushsrivastava8698
@ayushsrivastava8698 2 жыл бұрын
Hey Jim you can check this out kzbin.info/www/bejne/j3jbq6uLe9F7kKs
@umeyama4
@umeyama4 Жыл бұрын
Alpine + Livewire + Laravel tutorial please
@kudamasangomai
@kudamasangomai 2 жыл бұрын
Hey Brad, how do you learn something new and go from 0 to competency? And how long does it take you..do you mind sharing the process or tips
@giftjonas2447
@giftjonas2447 2 жыл бұрын
The more you work on it the more you gain experience you should work on it make mistakes fix them, than you gain experience
@kudamasangomai
@kudamasangomai 2 жыл бұрын
@@giftjonas2447 will have to work more i guess
@thecodingchef9292
@thecodingchef9292 2 жыл бұрын
@@giftjonas2447 that's true I think his question comes from the fact that programming is vast and changing daily, new things are being released daily, do how does one get to learn things at such high speed when something new to learn comes up,,,,, I think I would also love to Know
@AstuceFx
@AstuceFx 8 ай бұрын
can we use it within react project?
@samuelwaller4924
@samuelwaller4924 5 ай бұрын
can, yes. Should, probably not.
@fcnealvillangca7943
@fcnealvillangca7943 3 ай бұрын
I don't have a big application to maintain I think alphine is enough with htmx
@henrikrinne3639
@henrikrinne3639 2 жыл бұрын
So it offers the same thing as vuejs but you get to learn a new syntax?
@tacituskilgore2258
@tacituskilgore2258 2 жыл бұрын
Which vscode theme does Brad use?
@daviidon
@daviidon 2 жыл бұрын
Do an imba crash course
@muhammad_abir
@muhammad_abir 2 жыл бұрын
its almost like vue
@figuredout6383
@figuredout6383 2 жыл бұрын
am I the only Nigerian following Brad videos???
@aogunnaike
@aogunnaike 2 жыл бұрын
Lol you can't be
@JM-st1le
@JM-st1le 2 жыл бұрын
Nah bro
@favouritecomics2177
@favouritecomics2177 2 жыл бұрын
I am following Brad from Abuja 😂
@figuredout6383
@figuredout6383 2 жыл бұрын
@@favouritecomics2177 I’ve got a project idea, if you’re interested let me know, so we have a talk about it.
@ultimus579
@ultimus579 2 жыл бұрын
what theme are you using?
@mehrdad1068
@mehrdad1068 2 жыл бұрын
Please make tutorial for post views 👁️ on social media 🔥🌸
@ahmedhabeeb2499
@ahmedhabeeb2499 2 жыл бұрын
Brad what is the next course udmey ? when ?
Carbon Lang First Look & Crash Course | Google's C++ Successor
1:06:46
Traversy Media
Рет қаралды 106 М.
Alpine JS Tutorial | Build a Todo App
33:48
The Code Creative
Рет қаралды 16 М.
I PEELED OFF THE CARDBOARD WATERMELON!#asmr
00:56
HAYATAKU はやたく
Рет қаралды 34 МЛН
Mini Jelly Cake 🎂
00:50
Mr. Clabik
Рет қаралды 18 МЛН
HTMX Crash Course | Dynamic Pages Without Writing Any JavaScript
56:47
Traversy Media
Рет қаралды 127 М.
The Importance of Specialization in Coding
7:13
Traversy Media
Рет қаралды 81 М.
CSS Grid Crash Course
53:45
Traversy Media
Рет қаралды 304 М.
Vue JS Crash Course
1:50:52
Traversy Media
Рет қаралды 1,3 МЛН
Getting Started with Alpine.js
15:09
DigitalOcean
Рет қаралды 6 М.
HTML Templates Instead Of Reactivity | Prime Reacts
12:42
ThePrimeTime
Рет қаралды 106 М.
Astro Crash Course
1:35:19
Traversy Media
Рет қаралды 152 М.
The Return of jQuery (Not really, just Alpine.js)
23:40
LearnWebCode
Рет қаралды 9 М.
Svelte Crash Course
1:20:52
Traversy Media
Рет қаралды 225 М.
Say No To Complexity With AlpineJS - Caleb Porzio
32:04
JavaScript Conferences by GitNation
Рет қаралды 17 М.
🤯Самая КРУТАЯ Функция #shorts
0:58
YOLODROID
Рет қаралды 3,8 МЛН
What’s your charging level??
0:14
Татьяна Дука
Рет қаралды 1,9 МЛН