Astro 3.0 Crash Course (View Transitions, Image, Content Collections, and More!)

  Рет қаралды 32,681

James Q Quick

James Q Quick

Күн бұрын

Astro 3.0 is HERE! Here's what you'll learn
- Astro components and page based routing
- installing and working with Tailwind
- Content Collections with Markdown and MDX
- dynamic routes
- image optimization
Astro 3.0 Blog Post - astro.build/blog/astro-3/
Learn Astro 3.0 - astrocourse.dev/
*DISCORD*
Join the Learn Build Teach Discord Server 💬 - / discord
*STAY IN TOUCH 👋*
Newsletter 🗞 - www.jamesqquick.com/newsletter
Follow me on Twitter 🐦 - / jamesqquick
Check out the Podcast - compressed.fm/
Courses - jamesqquick.com/courses
*QUESTIONS ABOUT MY SETUP*
Check out my Uses page for my VS Code setup, what recording equipment I use, etc. www.jamesqquick.com/uses
00:00 - Intro
00:30 - Introduction to Astro
02:10 - Creating a New Astro Project and Code Overview
09:00 - What You'll Build
11:00 - Setting Up Tailwind
12:00 - Astro Components (Layout, Header, and Footer)
17:00 - Page Based Routing
18:00 - View Transitions
20:30 - Content Collections
24:30 - Querying and Displaying Content
27:30 - Image Optimization
31:00 - Get Static Paths for Dynamic Routes
36:00 - Tailwind Typography Plugin
37:40 - Working with MDX
40:00 - Recap and Wrapup

Пікірлер: 87
@codewithguillaume
@codewithguillaume 8 ай бұрын
I stop everything I am doing now - and start this course. Thanks James!
8 ай бұрын
Awesome content here, thanks James Q Quick, you did good thing clearing up my mind on what to use on my current test project - Astro it is!
@mrnzdev
@mrnzdev 8 ай бұрын
Great Course, thanks James.
@attracdev
@attracdev 8 ай бұрын
Nice work! I've been wanting to play around with Astro for a while now.
@theMrM_
@theMrM_ Ай бұрын
Great video, the content still applies as is for astro 4.0. I followed your instructions with no issues. Great explanation!
@FlorianBinder
@FlorianBinder 8 ай бұрын
Great tutorial! Astro shows nice exceptions! :-) Great dev expirience
@sabuein
@sabuein 7 ай бұрын
Thank you, James.
@juanferrer5885
@juanferrer5885 8 ай бұрын
Great idea to go with ts and tw, great video!
@JesusContrerasG
@JesusContrerasG 8 ай бұрын
I´m a NextJS fan but you make me see Astro as a great great choice, thanks for sharing
@jochenr9885
@jochenr9885 6 ай бұрын
Hey James, this helped me tremendously to get going with astro! Thx!
@JamesQQuick
@JamesQQuick 6 ай бұрын
So glad to hear that!
@AndreasWalter1984
@AndreasWalter1984 8 ай бұрын
Svelte Yes sir! 🙋‍♂️
@naranyala_dev
@naranyala_dev 8 ай бұрын
huge thanks
@alanrutter3273
@alanrutter3273 8 ай бұрын
Another excellent tutorial James and Astro looks really good. Can Astro support a micro-frontend methodology or Module Federation?
@hari9321
@hari9321 7 ай бұрын
Nice tutorial James
@JamesQQuick
@JamesQQuick 7 ай бұрын
Thank you! Hope you're enjoying Astro :)
@twd2
@twd2 8 ай бұрын
That was really quick, to launch a crash course for V3, big thanks for your efforts, and I do not really like TS😅,Svelte yes !!!
@user-bn5eb9um4x
@user-bn5eb9um4x 8 ай бұрын
When Astro home page was updated on the same day as 3.0 released, I tested it's 100/100 PageSpeed score!
@alwaysgrowww
@alwaysgrowww 8 ай бұрын
I have this question. How to configure astro to pull posts dynamically instead of storing the content in webapp and this will lead pushing the website everytime we write a new post. In that case, how content collection will work?
@user-xu7jz4li7e
@user-xu7jz4li7e 8 ай бұрын
you will need to buy the full course for that 😂
@sajithar99
@sajithar99 8 ай бұрын
you'll need a CMS integration for that. Astro does support a number of them
@Goyo_MGC
@Goyo_MGC 8 ай бұрын
Astro could be for me the next big framework. Compared to other solution such a Qwik, the adoption of astro is really easy whatever your previous prefered language might be !
@kirso
@kirso 8 ай бұрын
Svelte yes!
@shamscorner
@shamscorner 8 ай бұрын
svelte yes 🙌
@jaymartinez311
@jaymartinez311 8 ай бұрын
yes typescript 😊
@ceralguy85
@ceralguy85 8 ай бұрын
Great crash course James, very well explain about the new features on this 3.0 release. Quality content as usual
@brancode404
@brancode404 8 ай бұрын
When are you releasing your Astro Course?
@julianbustos3079
@julianbustos3079 8 ай бұрын
So would these image optimizations work with images that are hosted somewhere else?
@aldoyh
@aldoyh 8 ай бұрын
I am totally PHP!
@aventyrskonsulterna
@aventyrskonsulterna 8 ай бұрын
Great video! Would love to see the Svelte-stuff!
@LawrenceDCodes.
@LawrenceDCodes. 8 ай бұрын
Oh snap you did *THE OFFICIAL* course! Nice work James 💪💪💪
@quickfixportal
@quickfixportal 6 ай бұрын
you are amazing
@JamesQQuick
@JamesQQuick 6 ай бұрын
Thank you!
@stylrart
@stylrart 7 ай бұрын
Sveltekit yes!
@Yesar1
@Yesar1 3 ай бұрын
Will you make a small project video on Astro with Svelte framework? It will be helpful for me and also for those who're interested in astro.
@MrKeliv
@MrKeliv 8 ай бұрын
I knew astro is good for SEO. But.... I have confuse between using gofiber html + HTMX or using astro+gofiber (API) Do you have suggestion what best solution for an e-commerce website ? Thanks
@Nevalkar_
@Nevalkar_ 8 ай бұрын
Hi James, when would the course be released? I am in the waiting list excitedly awaiting 😅
@demetrycode
@demetrycode 8 ай бұрын
according to his site it is this summer so just two weeks left therefore
@Nevalkar_
@Nevalkar_ 8 ай бұрын
@@demetrycode you mean two long weeks! 😅
@demetrycode
@demetrycode 8 ай бұрын
@@Nevalkar_ true 😆
@johns2551
@johns2551 7 ай бұрын
What is the terminal plugin that you recommend? I cannot find it without knowing the spelling. Thanks.
@JamesQQuick
@JamesQQuick 7 ай бұрын
Fig.io Go check it out :)
@slackstation
@slackstation 8 ай бұрын
svelte yes
@anthillca3665
@anthillca3665 7 ай бұрын
SVELTE YES!!!!!!!!!!!!!!!!!
@MetalRoast
@MetalRoast 6 ай бұрын
Typescript for the win
@JamesQQuick
@JamesQQuick 6 ай бұрын
Yeahhh!!
@TheCbrands
@TheCbrands 8 ай бұрын
Svelte Yes
@AdamMietlicki
@AdamMietlicki 8 ай бұрын
Svelte yes
@ManuelChagoyan
@ManuelChagoyan 7 ай бұрын
Regarding Typescript. Not sure yet. Would’ve been nice to see the crash course without dependencies of having to know Typescript, Tailwind, etc. It allows beginners to focus on one technology at a time. Some people just want to learn Astro.
@JamesQQuick
@JamesQQuick 6 ай бұрын
Fair enough. That's great feedback!
@stln768
@stln768 8 ай бұрын
My head is spinning. Any thought on how this compares to Remix?
@thefoamingbrain2469
@thefoamingbrain2469 8 ай бұрын
remix, astro, next, vue... ugh to much
@chintanudani5631
@chintanudani5631 8 ай бұрын
Being an typesafe language TS gives edge over js
@yogyyconst
@yogyyconst 8 ай бұрын
how to shorter path when changes file? my terminal showing full path C:/..
@stevasc
@stevasc 8 ай бұрын
What theme is this? I love it!
@ramimhossainantor3747
@ramimhossainantor3747 7 ай бұрын
did you find it?
@stevasc
@stevasc 7 ай бұрын
no : / ..... could you tell me?@@ramimhossainantor3747
@ondrejhavazik4124
@ondrejhavazik4124 7 ай бұрын
any luck with theme? I'd like know theme name as well. Thx
@ramimhossainantor3747
@ramimhossainantor3747 6 ай бұрын
@@ondrejhavazik4124 James Q Quick theme
@stevasc
@stevasc 5 ай бұрын
@@ondrejhavazik4124 noo = /
@abhijeetmeshram3762
@abhijeetmeshram3762 7 ай бұрын
I want to deploy site to sub folder. does astro support that ?
@JamesQQuick
@JamesQQuick 7 ай бұрын
I'm not sure what you mean. can you help clarify that?
@abhijeetmeshram3762
@abhijeetmeshram3762 7 ай бұрын
@@JamesQQuick I want to site run on temporarily sub folders like ://Hostname/test/version1 Is there any configuration available ?
@philip9677
@philip9677 7 күн бұрын
how do i create the page for the category, im getting a 404 when i click the category link in the post
@raj080288
@raj080288 2 ай бұрын
where is the repo link for the code?
@adeonirkohl
@adeonirkohl 8 ай бұрын
Yes, TypeScript please
@husidev
@husidev 8 ай бұрын
I prefer coding instead of wasting my time making typescript happy.
@ramabie8557
@ramabie8557 8 ай бұрын
astro supabase?
@MikeNugget
@MikeNugget 8 ай бұрын
At first glance content data flow looks pretty messy.
@PabloGaraguso
@PabloGaraguso 6 ай бұрын
No Typescript, thank you.
@JamesQQuick
@JamesQQuick 6 ай бұрын
You prefer to not use typescript?
@PabloGaraguso
@PabloGaraguso 6 ай бұрын
@@JamesQQuick exactly. Loose typing is a strength when used properly. Other than that, "warning" you about types should be part of code assist/intellisense in either case. With that out of the way, why add another layer on top? Typescript is hands holding for those coming from other languages, but it limits you greatly in using JS to its potential.
@nomad100hd
@nomad100hd 5 ай бұрын
This tutorial is impossible to follow. I get "TypeError: posts.map is not a function"
@IanZamojc
@IanZamojc 8 ай бұрын
Good video, but saying "way too many javascript frameworks" at the start is a really negative take. We're spoiled for choice; that's a good problem to have. They all do different things too; Astro (static site generator) and Vue (reactive MVVM) are basically unrelated in terms of their use cases. The only downside is having to do some research when deciding which is the best fit, which is a lot better than having to compromise on fewer options.
@mvargasmoran
@mvargasmoran 6 ай бұрын
I hate typescript.
@JamesQQuick
@JamesQQuick 6 ай бұрын
Fun times. Prefere regular JavaScript?
@arberstudio
@arberstudio 8 ай бұрын
did u just delete my comment? wow, open mindedness not a thing here?
@JamesQQuick
@JamesQQuick 7 ай бұрын
Don't think I've deleted any comments here. What did you say?
@existentialquest1509
@existentialquest1509 8 ай бұрын
No you should not - Astro is not fit for purpose - i repeat it’s not UNTIL it stops asking you to turn off Content Security Policies that prevent javascript eval - i love the framework feature but it will create a security vulnerability - James should point out the trade offs that Astro requires you to implement - I have 24 years as CTO , Chief Architect etc and i am telling you these frameworks are taking us back to PHP days -or reinventing the wheel
@metinemiroglu1936
@metinemiroglu1936 5 ай бұрын
Could you share where did you get this information?
@kurwacherry
@kurwacherry 7 ай бұрын
had to stop after you chose typescript :(
@matttech3911
@matttech3911 7 ай бұрын
Why? He barely used it in this tutorial and it really isn't that hard
@JamesQQuick
@JamesQQuick 7 ай бұрын
Anything I could do to help with that?
@prograshed
@prograshed 8 ай бұрын
svelte yes
@calebredus6948
@calebredus6948 8 ай бұрын
Svelte yes
Astro Crash Course in 20 Minutes!
22:07
Coding in Public
Рет қаралды 51 М.
Маленькая и средняя фанта
00:56
Multi DO Smile Russian
Рет қаралды 2,8 МЛН
Let's all try it too‼︎#magic#tenge
00:26
Nonomen ノノメン
Рет қаралды 47 МЛН
Can You Draw The PERFECT Circle?
00:57
Stokes Twins
Рет қаралды 57 МЛН
INSANE OpenAI News: GPT-4o and your own AI partner
28:48
AI Search
Рет қаралды 243 М.
Nuxt 3 - Course for Beginners
3:10:29
freeCodeCamp.org
Рет қаралды 98 М.
I learned to code from scratch in 1 year. Here's how.
41:55
Thomas Frank
Рет қаралды 308 М.
10 Tailwind Tricks You NEED To Know!
10:45
Ravi - Perfect Base
Рет қаралды 257 М.
HTMX Crash Course | Dynamic Pages Without Writing Any JavaScript
56:47
Traversy Media
Рет қаралды 126 М.
How to Get a Developer Job - Even in This Economy [Full Course]
3:59:46
freeCodeCamp.org
Рет қаралды 2,1 МЛН
Why I STOPPED Using Next.js And Chose Astro Instead
12:10
James Q Quick
Рет қаралды 52 М.
Deep Learning: A Crash Course (2018) | SIGGRAPH Courses
3:33:03
ACMSIGGRAPH
Рет қаралды 2,6 МЛН
Learn HTML5 and CSS3 For Beginners - Crash Course
3:54:03
developedbyed
Рет қаралды 2,8 МЛН
Do you REALLY need SSR?
18:15
Theo - t3․gg
Рет қаралды 155 М.
Маленькая и средняя фанта
00:56
Multi DO Smile Russian
Рет қаралды 2,8 МЛН