Nuxt 3 Server Routes Master Course

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ต.ค. 2024

ความคิดเห็น • 45

  • @ProgramWithErik
    @ProgramWithErik  2 ปีที่แล้ว +6

    Need some mentoring, help with a project, get a career in tech, level up your skills? One week free trial!
    👉mentorcruise.com/mentor/erikhanchett/

  • @siya.abc123
    @siya.abc123 2 ปีที่แล้ว +5

    Nuxt has always been so elegant man, it's hard to beat

  • @rayn3r965
    @rayn3r965 ปีที่แล้ว

    This is such a great explanation; thank you so much for making such a clean, friendly guide to Nuxt 3 server routes!!

  • @alwaisy
    @alwaisy ปีที่แล้ว

    these 13.06 minutes solved my problem. Thanks Erik.

  • @FilipeAguiarCarvalho
    @FilipeAguiarCarvalho 2 ปีที่แล้ว +3

    I was expecting this video since the release of Nuxt3. Thank you.

  • @offgridvince
    @offgridvince ปีที่แล้ว +1

    Found it! I knew you had to have something on Nuxt3... Thanks a bunch.

  • @hcmlopes
    @hcmlopes 2 ปีที่แล้ว +2

    Only need to restart the server when you first create any of the special folders. As you can see it working in the books example

  • @PhilippLupulescu
    @PhilippLupulescu ปีที่แล้ว +1

    Hey Erik, thanks for this tutorial! If I would like to add some logic to the specific API route, like fetching data from a database or lets say a headless cms that offers it's own API. How would I do that? Could I use some of nuxts fetch methods?

  • @ricko13
    @ricko13 2 ปีที่แล้ว +1

    I love you Erik, awesome content!

  • @bartoszsowa5140
    @bartoszsowa5140 ปีที่แล้ว +8

    10.2022: useQuery() and useBody() have been changed to getQuery() and readBody(). Someone on other channel saved me from going insane so let me save you too.

  • @lessons3141
    @lessons3141 ปีที่แล้ว

    Erik, thx for usefull content !
    have a question: wich vs-code theme you use in this video? like this code brighting

    • @ProgramWithErik
      @ProgramWithErik  ปีที่แล้ว +1

      Synthwave 84!

    • @lessons3141
      @lessons3141 ปีที่แล้ว

      @@ProgramWithErik thx, installed, awesome.
      what about to create a video about StoreFront or some platform for e-commerce projects and create some example ?
      also more about JAMStack , maybe about headless wordpress + nuxt3?)
      P.S. Hello from Ukraine!

  • @ash1kh
    @ash1kh 2 ปีที่แล้ว

    Nuxt 3 and Nitro truly blows my mind. Pure voodoo magic. :)

  • @vexl.project88
    @vexl.project88 ปีที่แล้ว

    Thank tou you, awesome content 💌

  • @islom_raximqulov
    @islom_raximqulov 2 ปีที่แล้ว +2

    Thanks bro, which theme you installed in your VS Code

    • @emrullahkutlar822
      @emrullahkutlar822 2 ปีที่แล้ว +1

      +1

    • @laprod2009
      @laprod2009 2 ปีที่แล้ว

      Hello, marketplace.visualstudio.com/items?itemName=RobbOwen.synthwave-vscode

    • @stevensze378
      @stevensze378 2 ปีที่แล้ว

      +1

    • @mleite1
      @mleite1 2 ปีที่แล้ว

      I think its Synthwave 84 theme, you have to enable the glow

  • @Alidnet1
    @Alidnet1 2 ปีที่แล้ว

    Hi Erik, any plans to do a Nuxt3 Google Maps video?

  • @debayanghosh5245
    @debayanghosh5245 ปีที่แล้ว

    Sir I need help I am trying to use dynamic routes but why I have to generate build again if a new product is added..in Vue js we just had to do product/:I'd please tell me how to overcome this

  • @danielwatson6529
    @danielwatson6529 ปีที่แล้ว

    mine all works sweet on local host but when I deploy it the use/readBody triggers a 500 of "The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received an instance of Object"

  • @nutral13
    @nutral13 2 ปีที่แล้ว +1

    Is nuxt 3 production ready?

  • @danielkaviyani3885
    @danielkaviyani3885 2 ปีที่แล้ว

    Thanks for the video, I have a question, is it possible to make a post API and call it from the backend? for example when we want to create a report file that maybe take long time to be created so we want when this file is created then the backend call an API and send the info of the file to the nuxt app so we can show the download button and set the link

  • @rickyu1978
    @rickyu1978 2 ปีที่แล้ว

    Nice, Whats the difference between useFetch and $fetch?.. Also using the /server route we must deploy nuxt to a node server and not to a static host like aws s3 or cloudflare?

    • @erickw.r.5777
      @erickw.r.5777 2 ปีที่แล้ว

      $fetch doesn't make an extra api call if called from the server
      if using server, you cannot use it without a node server or cloud functions

  • @davidzita1404
    @davidzita1404 2 ปีที่แล้ว +1

    any way to integrate fastify with thet ?

  • @pareshpandit
    @pareshpandit 2 ปีที่แล้ว

    Thanks for the video, much appreciate it. :)
    A couple of things:
    1.) [feedback] : On the API route, 'async > await' threw an error for me, and removing it worked just fine. But the server still throws a 405 error in the server side console though, saying 'HTTP method is not allowed'.
    2.) [request] : I was wondering if you could make a video on route validation, since Nuxt3 has now retired the 'validation method', and it has become slightly challenging for newbies like me to get around to it. (Eg. allowing only numbers or ids on a certain route etc.)

  • @ozqurozalp
    @ozqurozalp 2 ปีที่แล้ว

    How can i upload image with nuxt’s own server api?

  • @abuzcoder
    @abuzcoder 2 ปีที่แล้ว

    what name is theme extension very beautifull

  • @Hassanbinsafdar-jt6uj
    @Hassanbinsafdar-jt6uj ปีที่แล้ว

    which theme you are using

  • @kakun7238
    @kakun7238 2 ปีที่แล้ว

    can we get a full stack app tutorial with nuxt sir?

  • @williamkrisleycardososoare6299
    @williamkrisleycardososoare6299 ปีที่แล้ว

    what is this theme ?

  • @amitraturi9901
    @amitraturi9901 2 ปีที่แล้ว

    make some videos on phoenix framework and elixir.

  • @maskman4821
    @maskman4821 2 ปีที่แล้ว

    awesome 😍

  • @greendsnow
    @greendsnow 2 ปีที่แล้ว +1

    Firebase is still breaking with Nuxt 3...

  • @omercelebi2012
    @omercelebi2012 ปีที่แล้ว

    when I open new project can't find useQuery or useBody but in my older project it was auto imported.. I don't remember how I did it.. Any suggestions?

    • @pandau
      @pandau ปีที่แล้ว +1

      I believe they are changed to getQuery and readBody. That's how I got it to work.