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

Поделиться
HTML-код
  • Опубликовано: 4 авг 2024
  • 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

Комментарии • 89

  •  11 месяцев назад +6

    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!

  • @codewithguillaume
    @codewithguillaume 11 месяцев назад

    I stop everything I am doing now - and start this course. Thanks James!

  • @mrnzdev
    @mrnzdev 11 месяцев назад

    Great Course, thanks James.

  • @attracdev
    @attracdev 11 месяцев назад

    Nice work! I've been wanting to play around with Astro for a while now.

  • @theMrM_
    @theMrM_ 4 месяца назад

    Great video, the content still applies as is for astro 4.0. I followed your instructions with no issues. Great explanation!

  • @FlorianBinder
    @FlorianBinder 11 месяцев назад +1

    Great tutorial! Astro shows nice exceptions! :-) Great dev expirience

  • @juanferrer5885
    @juanferrer5885 11 месяцев назад

    Great idea to go with ts and tw, great video!

  • @sabuein
    @sabuein 10 месяцев назад

    Thank you, James.

  • @JesusContrerasG
    @JesusContrerasG 11 месяцев назад

    I´m a NextJS fan but you make me see Astro as a great great choice, thanks for sharing

  • @ceralguy85
    @ceralguy85 11 месяцев назад +2

    Great crash course James, very well explain about the new features on this 3.0 release. Quality content as usual

  • @AndreasWalter1984
    @AndreasWalter1984 11 месяцев назад

    Svelte Yes sir! 🙋‍♂️

  • @naranyala_dev
    @naranyala_dev 11 месяцев назад

    huge thanks

  • @jochenr9885
    @jochenr9885 9 месяцев назад

    Hey James, this helped me tremendously to get going with astro! Thx!

  • @alanrutter3273
    @alanrutter3273 11 месяцев назад +1

    Another excellent tutorial James and Astro looks really good. Can Astro support a micro-frontend methodology or Module Federation?

  • @twd2
    @twd2 11 месяцев назад

    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 !!!

  • @hari9321
    @hari9321 10 месяцев назад +1

    Nice tutorial James

    • @JamesQQuick
      @JamesQQuick  10 месяцев назад

      Thank you! Hope you're enjoying Astro :)

  • @Goyo_MGC
    @Goyo_MGC 11 месяцев назад +1

    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 !

  • @LawrenceDCodes.
    @LawrenceDCodes. 11 месяцев назад +1

    Oh snap you did *THE OFFICIAL* course! Nice work James 💪💪💪

  • @kirso
    @kirso 10 месяцев назад

    Svelte yes!

  • @shamscorner
    @shamscorner 11 месяцев назад

    svelte yes 🙌

  • @user-bn5eb9um4x
    @user-bn5eb9um4x 11 месяцев назад

    When Astro home page was updated on the same day as 3.0 released, I tested it's 100/100 PageSpeed score!

  • @aventyrskonsulterna
    @aventyrskonsulterna 11 месяцев назад +3

    Great video! Would love to see the Svelte-stuff!

  • @jaymartinez311
    @jaymartinez311 11 месяцев назад

    yes typescript 😊

  • @quickfixportal
    @quickfixportal 8 месяцев назад

    you are amazing

  • @aldoyh
    @aldoyh 11 месяцев назад

    I am totally PHP!

  • @stylrart
    @stylrart 9 месяцев назад

    Sveltekit yes!

  • @Yesar1
    @Yesar1 5 месяцев назад

    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.

  • @alwaysgrowww
    @alwaysgrowww 11 месяцев назад +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 10 месяцев назад +1

      you will need to buy the full course for that 😂

    • @sajithar99
      @sajithar99 10 месяцев назад

      you'll need a CMS integration for that. Astro does support a number of them

  • @julianbustos3079
    @julianbustos3079 11 месяцев назад

    So would these image optimizations work with images that are hosted somewhere else?

  • @anthillca3665
    @anthillca3665 9 месяцев назад

    SVELTE YES!!!!!!!!!!!!!!!!!

  • @brancode404
    @brancode404 11 месяцев назад

    When are you releasing your Astro Course?

  • @MetalRoast
    @MetalRoast 9 месяцев назад

    Typescript for the win

  • @slackstation
    @slackstation 11 месяцев назад

    svelte yes

  • @yogyyconst
    @yogyyconst 10 месяцев назад

    how to shorter path when changes file? my terminal showing full path C:/..

  • @MrKeliv
    @MrKeliv 11 месяцев назад

    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

  • @TheCbrands
    @TheCbrands 10 месяцев назад

    Svelte Yes

  • @calebredus6948
    @calebredus6948 11 месяцев назад

    Svelte yes

  • @Nevalkar_
    @Nevalkar_ 11 месяцев назад

    Hi James, when would the course be released? I am in the waiting list excitedly awaiting 😅

    • @demetrycode
      @demetrycode 11 месяцев назад

      according to his site it is this summer so just two weeks left therefore

    • @Nevalkar_
      @Nevalkar_ 11 месяцев назад

      @@demetrycode you mean two long weeks! 😅

    • @demetrycode
      @demetrycode 11 месяцев назад

      @@Nevalkar_ true 😆

  • @philip9677
    @philip9677 2 месяца назад

    how do i create the page for the category, im getting a 404 when i click the category link in the post

  • @ManuelChagoyan
    @ManuelChagoyan 9 месяцев назад +4

    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  9 месяцев назад

      Fair enough. That's great feedback!

  • @chintanudani5631
    @chintanudani5631 11 месяцев назад

    Being an typesafe language TS gives edge over js

  • @raj080288
    @raj080288 5 месяцев назад

    where is the repo link for the code?

  • @johns2551
    @johns2551 10 месяцев назад

    What is the terminal plugin that you recommend? I cannot find it without knowing the spelling. Thanks.

    • @JamesQQuick
      @JamesQQuick  10 месяцев назад

      Fig.io Go check it out :)

  • @stln768
    @stln768 11 месяцев назад +2

    My head is spinning. Any thought on how this compares to Remix?

  • @stevasc
    @stevasc 11 месяцев назад +1

    What theme is this? I love it!

    • @ramimhossainantor3747
      @ramimhossainantor3747 10 месяцев назад +1

      did you find it?

    • @stevasc
      @stevasc 10 месяцев назад

      no : / ..... could you tell me?@@ramimhossainantor3747

    • @ondrejhavazik4124
      @ondrejhavazik4124 9 месяцев назад

      any luck with theme? I'd like know theme name as well. Thx

    • @ramimhossainantor3747
      @ramimhossainantor3747 9 месяцев назад

      @@ondrejhavazik4124 James Q Quick theme

    • @stevasc
      @stevasc 8 месяцев назад

      @@ondrejhavazik4124 noo = /

  • @abhijeetmeshram3762
    @abhijeetmeshram3762 10 месяцев назад

    I want to deploy site to sub folder. does astro support that ?

    • @JamesQQuick
      @JamesQQuick  10 месяцев назад +1

      I'm not sure what you mean. can you help clarify that?

    • @abhijeetmeshram3762
      @abhijeetmeshram3762 10 месяцев назад

      @@JamesQQuick
      I want to site run on temporarily sub folders like
      ://Hostname/test/version1
      Is there any configuration available ?

  • @adeonirkohl
    @adeonirkohl 11 месяцев назад +2

    Yes, TypeScript please

  • @husidev
    @husidev 10 месяцев назад +8

    I prefer coding instead of wasting my time making typescript happy.

  • @ramabie8557
    @ramabie8557 11 месяцев назад

    astro supabase?

  • @zummon
    @zummon 2 месяца назад

    i like javascript more than typescript, it less code

  • @PabloGaraguso
    @PabloGaraguso 9 месяцев назад

    No Typescript, thank you.

    • @JamesQQuick
      @JamesQQuick  8 месяцев назад

      You prefer to not use typescript?

    • @PabloGaraguso
      @PabloGaraguso 8 месяцев назад

      @@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.

  • @MikeNugget
    @MikeNugget 11 месяцев назад

    At first glance content data flow looks pretty messy.

  • @nomad100hd
    @nomad100hd 8 месяцев назад

    This tutorial is impossible to follow. I get "TypeError: posts.map is not a function"

  • @soviut303
    @soviut303 11 месяцев назад

    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 8 месяцев назад

    I hate typescript.

    • @JamesQQuick
      @JamesQQuick  8 месяцев назад

      Fun times. Prefere regular JavaScript?

  • @arberstudio
    @arberstudio 10 месяцев назад

    did u just delete my comment? wow, open mindedness not a thing here?

    • @JamesQQuick
      @JamesQQuick  10 месяцев назад

      Don't think I've deleted any comments here. What did you say?

  • @existentialquest1509
    @existentialquest1509 11 месяцев назад

    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 7 месяцев назад

      Could you share where did you get this information?

  • @kurwacherry
    @kurwacherry 10 месяцев назад +1

    had to stop after you chose typescript :(

    • @matttech3911
      @matttech3911 10 месяцев назад

      Why? He barely used it in this tutorial and it really isn't that hard

    • @JamesQQuick
      @JamesQQuick  10 месяцев назад +1

      Anything I could do to help with that?

  • @prograshed
    @prograshed 11 месяцев назад

    svelte yes

  • @AdamMietlicki
    @AdamMietlicki 11 месяцев назад

    Svelte yes