Alpine.js Crash Course

  Рет қаралды 113,748

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

Пікірлер: 181
@WebMentorDev
@WebMentorDev Жыл бұрын
Finally. I can complete my TALL Stack (Tailwindcss, AlpineJs, Laravel, Livewire). Thank you so much. Appreciate it as always :)
@TheVertical92
@TheVertical92 Жыл бұрын
Now lets get to the SHORT Stack 😁
@brhh
@brhh Жыл бұрын
@@TheVertical92 Svelte H.. Oracle R.. Typescript yeah we will need to work on that lol
@gradientO
@gradientO Жыл бұрын
@@brhh Hydrogen and React. Just mix 'em all
@WebMentorDev
@WebMentorDev Жыл бұрын
@@TheVertical92 hopefully SHORT Stack will give me 7 digit salary 😂
@EntyFu
@EntyFu Жыл бұрын
Have you tried bootstrap instead of tailwind? always wanted to try BALL stack
@janzenfaidiban
@janzenfaidiban Жыл бұрын
Your tutorial is always amazing. Easy to learn for everyone. Thank you Brad. Can't wait for another tutorial
@th3ja
@th3ja 7 ай бұрын
Brad thanks for everything! First time trying out Alpine and I must say It's amazing!
@chelseabing
@chelseabing Жыл бұрын
Absolutely enjoyed this video! This channel just never misses!
@seanszukhent3313
@seanszukhent3313 Жыл бұрын
Brad is at it again! Was happy to see this after your Laravel course. Great work!
@shaineelnayak3465
@shaineelnayak3465 Жыл бұрын
Plain, Simple and Elegant this is awesome
@kaderlakhdar5735
@kaderlakhdar5735 Жыл бұрын
Thank you brad , another video to add to my Brad playlist ❤️
@younesmahmoud8543
@younesmahmoud8543 Жыл бұрын
Thanks brad!!. Your tutorial is always amazing.
@travholt
@travholt Жыл бұрын
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.
@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 Жыл бұрын
I follow you since 6 years back from Mexico
@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
@YasinNabi
@YasinNabi Жыл бұрын
this is one of the best videos I have just watched today... thanks for sharing ...
@bobhafemeister9652
@bobhafemeister9652 Жыл бұрын
Thanks Brad, loving alpine and htmx
@bobbyiliev_
@bobbyiliev_ Жыл бұрын
Thank you Brad! You ar an absolute legend!
@aramkeusgerian9618
@aramkeusgerian9618 Жыл бұрын
My prayers were answered :D Thanks a lot Brad!
@viner1000
@viner1000 3 ай бұрын
Fantastic. Thanks as always, Brad!
@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 4 ай бұрын
I would replace Node and express with Bun and Elysia.
@deidyomega
@deidyomega 2 ай бұрын
Replacing lit + express with Python + Django. I'm glad I can finally effectively write Python full stack.
@maximumcockage6503
@maximumcockage6503 2 ай бұрын
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.
@Sium0239
@Sium0239 27 күн бұрын
Absolutely amazing! Thank you a lot!
@kaypakaipa8559
@kaypakaipa8559 Жыл бұрын
The land of Javascript never stops giving! Tht said, I like this one, its like VueJs
@dot6086
@dot6086 Жыл бұрын
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 Жыл бұрын
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.
@ajaysdigitalart3320
@ajaysdigitalart3320 Жыл бұрын
Very well explained ... Worth watching.. Good job👍👍👍
@paulthomas1052
@paulthomas1052 Жыл бұрын
Thanks. Another great introduction.
@MotionInMotion1975
@MotionInMotion1975 10 күн бұрын
This is incredible, you just fucked up my mind after working with Angular for 5 years....
@nanonkay5669
@nanonkay5669 8 ай бұрын
After seeing this, you have to do a tutorial on Alpine js, HTMX and templating
@hithere5607
@hithere5607 11 ай бұрын
Thank you, amazing tutorial!
@BlueTeK
@BlueTeK Жыл бұрын
Thank you for this nice crash course 🙏
@TioJobs
@TioJobs Жыл бұрын
Nice video man! Thank you so much! 😍🚀
@Fullflexno
@Fullflexno Жыл бұрын
Will check this out! Cheers from Norway👍
@kaderlakhdar5735
@kaderlakhdar5735 Жыл бұрын
Hilsen fra norge også 😁👍
@Fullflexno
@Fullflexno Жыл бұрын
@@kaderlakhdar5735 🔥
@AbuAbdirohman
@AbuAbdirohman Жыл бұрын
Easy, Simple & Useful 👍
@this.channel
@this.channel Жыл бұрын
Cool, Alpine is my go to JS library.
@DanFarfan
@DanFarfan Жыл бұрын
Excellent. Thanks for sharing.
@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.
@the6fallenangels596
@the6fallenangels596 Жыл бұрын
u taught me both tailwind and alpine👍
@ferneyvilla7203
@ferneyvilla7203 Жыл бұрын
Super!! Thank you very helpful
@B3DFire
@B3DFire 6 ай бұрын
Nice tutorial, watched the whole thing
@nanobrains4982
@nanobrains4982 Жыл бұрын
Thanks Mr.Brad!
@nudecode
@nudecode Жыл бұрын
As always great tutorial. Thanks Brad. Now for a full TALL Stack tutorial😜
@mrsan385
@mrsan385 Жыл бұрын
whats is TALL stack
@giftjonas2447
@giftjonas2447 Жыл бұрын
Thanks Brad 😃🙏🏽
@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.
@rajeevprasad5836
@rajeevprasad5836 Жыл бұрын
happy to see this video
@mhmmdabrs6655
@mhmmdabrs6655 Жыл бұрын
awesome content 👌
@dimitmoto1716
@dimitmoto1716 Жыл бұрын
Many thanks!!!
@briankgarland
@briankgarland Жыл бұрын
Excellent!
@aogunnaike
@aogunnaike Жыл бұрын
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 Жыл бұрын
I throat that too
@kr4k3n_289
@kr4k3n_289 Жыл бұрын
It's feel very similar to Vue and I love it.
@hervenacitas8265
@hervenacitas8265 Жыл бұрын
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
@bashiruibrahim8443
@bashiruibrahim8443 Жыл бұрын
Thank you Sir
@hyggedev2124
@hyggedev2124 Жыл бұрын
Tailwind + AlpineJS = fun 😊
@filiporkowski
@filiporkowski Жыл бұрын
I will never use it but I will watch the entire video anyway.
@mduvens
@mduvens Жыл бұрын
Great stuff
@anmarm.9487
@anmarm.9487 Жыл бұрын
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 😅
@dankogulsoy
@dankogulsoy Жыл бұрын
Awesome. Thanks
@dev_jeongdaeri
@dev_jeongdaeri Жыл бұрын
Yeah super cool! 🔥👨‍💻
@AhmadReshadZazai
@AhmadReshadZazai 5 күн бұрын
Thank you.
@repotranstech9614
@repotranstech9614 Жыл бұрын
How about htmx.I have used it and it's pretty powerful.
@maxwellkjr
@maxwellkjr Жыл бұрын
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
@farhadbagheri5687
@farhadbagheri5687 Жыл бұрын
really that was helpful
@shwackthenoobsac
@shwackthenoobsac Жыл бұрын
This is pretty cool.
@mustaphaab7127
@mustaphaab7127 Жыл бұрын
Hi Thanks a lot for that tutorial, i wished that you cover consuming api using alpine js Thanks again
@ramigamal6637
@ramigamal6637 Жыл бұрын
A grate video for a grate tool :)
@salimedia33
@salimedia33 Жыл бұрын
Thank you ;)
@dot6086
@dot6086 Жыл бұрын
Brad three seconds into the video: *Introduces another framework Me: Another one? Brad: I can actually hear you sighing from here.
@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.
@xrkalix
@xrkalix Жыл бұрын
Thanks a lot. I was trying to find something good online about Alpine but I was unable.
@muhmmadirshad7376
@muhmmadirshad7376 Жыл бұрын
Think you sir
@Geomaverick124
@Geomaverick124 Жыл бұрын
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
@ogarjosephodama1878
@ogarjosephodama1878 Жыл бұрын
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
@ahoivik
@ahoivik Жыл бұрын
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?
@virenkhokhar6305
@virenkhokhar6305 2 ай бұрын
Money sign 🙌
@LouisDuran
@LouisDuran Жыл бұрын
23:46 Money sign. LOL
@viallymboma9874
@viallymboma9874 Жыл бұрын
really interesting...
@edmotler2115
@edmotler2115 Жыл бұрын
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.
@EduardKhiaev
@EduardKhiaev 6 ай бұрын
can you also create an HTMX Crash course?
@sky333suraj
@sky333suraj 9 ай бұрын
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.
@AstuceFx
@AstuceFx 7 ай бұрын
can we use it within react project?
@samuelwaller4924
@samuelwaller4924 4 ай бұрын
can, yes. Should, probably not.
@PlotTwists
@PlotTwists Жыл бұрын
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 Жыл бұрын
what is TALL stack
@notkylo1881
@notkylo1881 Жыл бұрын
@@mrsan385 Tailwind, Alpine, Livewire, Laravel
@birsingh5388
@birsingh5388 Жыл бұрын
Please create your own JS framework as well, the name could be Traverse.js 😎😃😆
@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.
@jlambert12013
@jlambert12013 Жыл бұрын
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 Жыл бұрын
Hey Jim you can check this out kzbin.info/www/bejne/j3jbq6uLe9F7kKs
@alexdin1565
@alexdin1565 2 ай бұрын
Please can you make a video about Fabric js?
@badcatdesign
@badcatdesign Жыл бұрын
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.
@muhammadidrees6650
@muhammadidrees6650 Жыл бұрын
❤❤❤
@displayblock
@displayblock Жыл бұрын
Can you do a crash course on Petite-vue?
@followthesalaf5657
@followthesalaf5657 Жыл бұрын
Need a tutorial on FARM stack
@laughingvampire7555
@laughingvampire7555 9 ай бұрын
this is just like htmx, reinventing angularjs
@tacituskilgore2258
@tacituskilgore2258 Жыл бұрын
Which vscode theme does Brad use?
@kudamasangomai
@kudamasangomai Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@giftjonas2447 will have to work more i guess
@thecodingchef9292
@thecodingchef9292 Жыл бұрын
@@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
@user-xz8mo9nr9c
@user-xz8mo9nr9c Жыл бұрын
Hello, please, make video about Solid (mini framework like React).
@henrikrinne3639
@henrikrinne3639 Жыл бұрын
So it offers the same thing as vuejs but you get to learn a new syntax?
@ultimus579
@ultimus579 Жыл бұрын
what theme are you using?
@ahmedhabeeb2499
@ahmedhabeeb2499 Жыл бұрын
Brad what is the next course udmey ? when ?
@umeyama4
@umeyama4 Жыл бұрын
Alpine + Livewire + Laravel tutorial please
@maulvieyazidaprilian5679
@maulvieyazidaprilian5679 Жыл бұрын
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
@figuredout6383
@figuredout6383 Жыл бұрын
am I the only Nigerian following Brad videos???
@aogunnaike
@aogunnaike Жыл бұрын
Lol you can't be
@JM-st1le
@JM-st1le Жыл бұрын
Nah bro
@favouritecomics2177
@favouritecomics2177 Жыл бұрын
I am following Brad from Abuja 😂
@figuredout6383
@figuredout6383 Жыл бұрын
@@favouritecomics2177 I’ve got a project idea, if you’re interested let me know, so we have a talk about it.
@fcnealvillangca7943
@fcnealvillangca7943 2 ай бұрын
I don't have a big application to maintain I think alphine is enough with htmx
@mehrdad1068
@mehrdad1068 Жыл бұрын
Please make tutorial for post views 👁️ on social media 🔥🌸
@daviidon
@daviidon Жыл бұрын
Do an imba crash course
@m.younusmorty4713
@m.younusmorty4713 Жыл бұрын
Hi, Where I can get $el other properties like parent or child?
@abdo.magdy.
@abdo.magdy. Жыл бұрын
this is for sure has XSS vulnerability it renders the HTML with the alpine attribute if we are on a blog website someone can create HTML with alpine attrs and redirect users etc u have to filter a lot to prevent this
@samuelwaller4924
@samuelwaller4924 4 ай бұрын
it has an escape mechanism to prevent this, and ideally you shouldnt be rendering user provided html anyways.
@muhammadabir64
@muhammadabir64 Жыл бұрын
its almost like vue
Carbon Lang First Look & Crash Course | Google's C++ Successor
1:06:46
Traversy Media
Рет қаралды 106 М.
AlpineJS - The Most Fun You'll Ever Have Without a JavaScript File
5:08
skibidi toilet 73 (part 1)
04:46
DaFuq!?Boom!
Рет қаралды 30 МЛН
Самый большой бутер в столовке! @krus-kos
00:42
Кушать Хочу
Рет қаралды 6 МЛН
Don't Waste!🚫 Turn Ham Into Delicious Food😊🍔 #funnycat #catmemes #trending
00:25
Flexbox Crash Course 2024
46:54
Traversy Media
Рет қаралды 408 М.
Alpine JS Tutorial | Build a Todo App
33:48
The Code Creative
Рет қаралды 15 М.
Why Some Designs Are Impossible to Improve: Quintessence
33:03
Design Theory
Рет қаралды 60 М.
HTML Templates Instead Of Reactivity | Prime Reacts
12:42
ThePrimeTime
Рет қаралды 105 М.
HTMX - What they don't want you to know!
13:28
CoderOne
Рет қаралды 74 М.
Webpack 5 Crash Course | Frontend Development Setup
41:17
Traversy Media
Рет қаралды 278 М.
Redis Crash Course
27:31
Web Dev Simplified
Рет қаралды 581 М.
Intro to Alpine.js in Just 7 Minutes
7:33
Laravel Daily
Рет қаралды 47 М.
I built the same app 10 times // Which JS Framework is best?
21:58
Fireship
Рет қаралды 2,4 МЛН
🔥Новый ЛИДЕР РЫНКА СМАРТФОНОВ🤩
0:33
Распаковка айфона под водой!💦(🎥: @saken_kagarov on IG)
0:20
Взрывная История
Рет қаралды 9 МЛН
Самый маленький игровой ПК
0:46
ITMania - Сборка ПК
Рет қаралды 322 М.