Why Use Nuxt JS 3 Beta?! (Vue.js 3 With Nuxt Tutorial!!)

Поділитися
Вставка
  • Опубліковано 16 гру 2024

КОМЕНТАРІ • 88

  • @Sky_ye
    @Sky_ye 3 роки тому +1

    21:20 Basically that error are shown by Vue Router same way in non-nuxt projects, without having single root element page template even if you'll setup transition it wont work for pages without single root element. That rule applies only for pages, components can have multiple root elements in most cases without any problem like that.

  • @willyguillard2897
    @willyguillard2897 2 роки тому

    i have so much to learn between vue and nuxt. It's the most interesting thing to learn right now. thank you again for this amazing show of nuxt.

  • @Tundrian12
    @Tundrian12 3 роки тому +21

    Can you talk about Nuxt3 state management next? Curious if the new useState functionality has persistence and can really replace vuex?

    • @eMeRiKa
      @eMeRiKa 3 роки тому +2

      would love to have an answer about that!

  • @cnikolov
    @cnikolov 3 роки тому +2

    Eric you are always ahead of the game thanks for doing my homework haha

  • @jaymartinez311
    @jaymartinez311 3 роки тому +2

    I was waiting for this!

  • @gyenabubakar
    @gyenabubakar 3 роки тому

    Great video Erik. You earned a subscriber! Please what theme are you using?

  • @eliuddyn
    @eliuddyn 3 роки тому +3

    Almost 100k 🔥🔥

  • @alizokaei6239
    @alizokaei6239 4 місяці тому

    i learned vue and nuxt with erik...♥♥♥🍎

  • @hasiburrahman1461
    @hasiburrahman1461 3 роки тому

    I'm really wating for this video. Thanks

  • @badasscoder4481
    @badasscoder4481 3 роки тому

    Thank you Erik. Now you are my favorite DEV UA-camr. I did not watch this video yet. But I am sure after watching Nuxt 3 will be easy to me.

  • @mrleblanc
    @mrleblanc 3 роки тому

    Nice we can use optional changing in template now ? It doesn't work in Nuxt 2 from what I remember

  • @alexArgItaly
    @alexArgItaly 3 роки тому +2

    Hi, do you know how to access the "$route" object from inside the block?
    You accessed it from the template using "$route".

    • @pointgbreak
      @pointgbreak 3 роки тому +2

      "const route = useRoute()"

    • @ProgramWithErik
      @ProgramWithErik  3 роки тому +2

      Yup see @horace comment!

    • @alexArgItaly
      @alexArgItaly 3 роки тому

      @@ProgramWithErik Thanks for your answer, I really like your videos, I follow you, thanks for sharing what you know.

  • @mrleblanc
    @mrleblanc 3 роки тому

    Thanks ! But I did not understand the part about /api/test ? Why wouldn't you use an useAsyncData directly in the page like in Nuxt 2 ?

  • @xav112
    @xav112 3 роки тому

    Thanks for sharing! Learned a lot ❤️

  • @0x4d46
    @0x4d46 3 роки тому

    Woah, what command was it that replaced the quotes with backticks at 11:51?

    • @KxKuK
      @KxKuK 3 роки тому +1

      If you're in vim mode you can do cs'`

  • @bombrman1994
    @bombrman1994 2 роки тому

    this was cool to code along I like these kind of videos. It's sets me up with a nice template work experiment with further

  • @yabuking84
    @yabuking84 2 роки тому

    Will there be named, router and anonymous middleware? From the docs it seems to be only for server-side. Been searching it but couldnt find any. Thank you!

  • @dev-am1303
    @dev-am1303 3 роки тому

    Thank t=you Erik! well explained, I really enjoyed learning Nuxt 3 with your instructions. And it is my first time using it.

  • @FrankDecker3
    @FrankDecker3 2 роки тому

    Hi Erik, I got this message after using script setup:
    [nuxt] [request error] Cannot read properties of undefined (reading 'setup')

  • @i3looi2
    @i3looi2 2 роки тому

    Is it safe to hardcode api tokens in the server files/component ? Or can those file's code be exposed from clientside ?

  • @tiborszabo3716
    @tiborszabo3716 2 роки тому

    What's with the nuxt3 now? roadmap was about maybe stable @dec 2021 but not a single news since @oct 2021.

  • @ada.blahblah
    @ada.blahblah 2 роки тому

    Nice video! But I have a question about data fetching from api, so when we need to request web apis from other server side, we have to create a new file in server/api? Can we just request in a .vue file directly?

  • @Kingside88
    @Kingside88 3 роки тому

    you explained it so well. Thank you Erik! :-)

  • @jimmyj.6792
    @jimmyj.6792 3 роки тому

    Nuxtify the world ❤️

  • @Isusia
    @Isusia 3 роки тому

    How about review latest Quasar?

  • @OzoneGrif
    @OzoneGrif 3 роки тому

    Very nice. I wonder if there are plugins to make the server-side less cumbersome. Hitting req and res directly isn't very optimal.

  • @avocado_vhs_lite
    @avocado_vhs_lite 3 роки тому

    Это реально магия. Для меня это что-то новое. Спасибо за инфу. Лайк и подписка

  • @i3looi2
    @i3looi2 2 роки тому

    For Vue u need nodejs only on development, you can deploy it as a Js/html foldder on any hosting after building the project. Is this also true for nuxtjs ? Or do you need nodejs on the hosting as well ?

  • @gmkhussain
    @gmkhussain 3 роки тому

    Great thumbnail... stay classy Impact 🎉🌟

  • @alimosbah
    @alimosbah 3 роки тому +1

    Can you do a course on Nuxt Js

    • @ProgramWithErik
      @ProgramWithErik  3 роки тому +1

      Yes, I'll be doing a newer course. I do have an older course if you like to check it out. school.programwitherik.com/p/create-awesome-vue-js-apps-with-nuxt-js

  • @coderoutemedia2969
    @coderoutemedia2969 2 роки тому

    Really nice intro, please can u make an in-depth video of how to best handle api calling between components and vuex store in ts as well

  • @theTechSimple
    @theTechSimple 3 роки тому

    Thanks, which font you are using for vs code?

  • @gabrielverde5649
    @gabrielverde5649 3 роки тому +4

    Amazing content, clear and objective. But I fear composition api just turned vue into react. Became confusing and opened the code to bad practices.

  • @mrleblanc
    @mrleblanc 3 роки тому

    Is there any replacement for $nuxt.$loading.start() ?

  • @eMeRiKa
    @eMeRiKa 3 роки тому +1

    one thing I don't understand is ":src="show.show?.image?.medium" the "?." what is that? what is the name of that? Thanks

    • @nethsarasandeepaelvitigala135
      @nethsarasandeepaelvitigala135 3 роки тому +1

      in typescript or es2020 or later javascript, you can access a member of a object only if that object exists, so it prevents "cannot read xxx of undefined" | "cannot read xxx of null" runtime errors.Here, what this basically does is first checks if there's a "show" member in show, if there i,s then checks if there's "image" member in show, then only access medium if image exists(also indictes that "show" existed).

    • @eMeRiKa
      @eMeRiKa 3 роки тому +1

      @@nethsarasandeepaelvitigala135 thanks a lot for your answer! What a nice (new) feature

    • @nethsarasandeepaelvitigala135
      @nethsarasandeepaelvitigala135 3 роки тому

      @@eMeRiKa You're welcome, btw there are lots of new features in JS nowadays .You can safely use them if you create a webpack(or any other bundler) and Babel workflow.And most are also supported in Typescript.JS is getting better by the day!!

  • @dhwajsharma
    @dhwajsharma 3 роки тому +1

    Vscode theme?

  • @Useroelas97
    @Useroelas97 3 роки тому

    thank you brother 😉 👍

  • @danielschmider5069
    @danielschmider5069 3 роки тому

    Why do you have to manually restart the server so often? that defeats the whole purpose of hot-reloading. Is this a Nuxt issue? Can it be fixed?

  • @Mechetle
    @Mechetle 3 роки тому

    found this really useful thanks!

  • @yabuking84
    @yabuking84 2 роки тому

    Man, I'm having a hard time generating static website pages in Nuxt 3. On nuxt 2 you do nuxt generate, how do you do that ibn Nuxt 3?

    • @marcelmueller1982
      @marcelmueller1982 2 роки тому +2

      It’s not possible at the moment. Crazy, SSG is the only Feature why we need Nuxt, otherwise we could do this with plain Vue 3.

  • @cvt5523
    @cvt5523 2 роки тому

    Changing the layout didn't work with the current version of nuxt js I tested.
    Here what I did if this becomes helpful for someone
    definePageMeta({
    layout: "custom",
    });

    • @ProgramWithErik
      @ProgramWithErik  2 роки тому

      Thanks! I'll be going over that in a new video soon!

  • @SyamsulAmin1791
    @SyamsulAmin1791 3 роки тому

    How to desctructur toRefs in ?
    return {
    ..toRefs(state)
    }

    • @mrleblanc
      @mrleblanc 3 роки тому +2

      There is no return in script setup, everything is accessible directly

  • @rasulyakubov1461
    @rasulyakubov1461 3 роки тому

    I really don`t like the way how nuxt3 handles custom layouts when using script setup. I need open another script just because for custom layout and all my logic works again in another script?!
    Maybe they are going to improve or think about it later, how do you guys think?

  • @QtheCoder
    @QtheCoder 3 роки тому +1

    finally yay!

  • @jleu3482
    @jleu3482 3 роки тому +1

    Is there any github code

  • @cybanjar4070
    @cybanjar4070 3 роки тому

    How to using vuex/store in nuxt 3?

  • @atbui4079
    @atbui4079 2 роки тому

    Great! you help me save a lot of time

  • @Ilya-di4ok
    @Ilya-di4ok 3 роки тому

    Wait for it.

  • @alexandrepellegrino2699
    @alexandrepellegrino2699 3 роки тому

    vscode theme name? nice vid

  • @meffmara647
    @meffmara647 2 роки тому

    Thanks 👍

  • @xMrAfonso
    @xMrAfonso 2 роки тому

    Svelte VS Nuxt?

  • @ayceod
    @ayceod 3 роки тому +1

    You know what would really help... 57 more JS frameworks/libraries. Do we think we can have that by the end of Q4?

    • @pythagoran
      @pythagoran 3 роки тому +2

      Lol salty much?

    • @mrleblanc
      @mrleblanc 3 роки тому

      There is only in server-side framework for Vue which is the most starred client-side framework. There is only 4 major client side framework: React, Vue, Angular, Svelte

  • @vals484
    @vals484 3 роки тому

    AWESOME!

  • @maskman4821
    @maskman4821 3 роки тому

    This is a pretty awesome Nuxt 3 tutorial, Nuxt 3 is very powerful, really impressed, can't wait to dive it 😎

  • @javadnoroozi3476
    @javadnoroozi3476 3 роки тому

    thanks a lot

  • @muhammadasifulislam1552
    @muhammadasifulislam1552 2 роки тому

    Great

  • @apenasumcanal23
    @apenasumcanal23 2 роки тому

    um salve do brasil

  • @Rivederchee
    @Rivederchee 3 роки тому

    we are just going to hardcode GIRLS

  • @todayisyourfuture
    @todayisyourfuture 3 роки тому

    почему ты говоришь по-англиским, а названия про видео написано на русском язике

  • @arifdevcoding
    @arifdevcoding 2 роки тому +2

    Look, you can't be a big fan of both react and Vue at the same time

  • @tear728
    @tear728 3 роки тому

    These javascript framework names get dumber and dumber