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.
@willyguillard28972 жыл бұрын
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.
@cnikolov3 жыл бұрын
Eric you are always ahead of the game thanks for doing my homework haha
@badasscoder44813 жыл бұрын
Thank you Erik. Now you are my favorite DEV KZbinr. I did not watch this video yet. But I am sure after watching Nuxt 3 will be easy to me.
@ProgramWithErik3 жыл бұрын
Wow, thanks!
@eliuddyn3 жыл бұрын
Almost 100k 🔥🔥
@ProgramWithErik3 жыл бұрын
So close!
@jaymartinez3113 жыл бұрын
I was waiting for this!
@xav1123 жыл бұрын
Thanks for sharing! Learned a lot ❤️
@dev-am13033 жыл бұрын
Thank t=you Erik! well explained, I really enjoyed learning Nuxt 3 with your instructions. And it is my first time using it.
@hasiburrahman14613 жыл бұрын
I'm really wating for this video. Thanks
@Tundrian123 жыл бұрын
Can you talk about Nuxt3 state management next? Curious if the new useState functionality has persistence and can really replace vuex?
@eMeRiKa3 жыл бұрын
would love to have an answer about that!
@gyenabubakar3 жыл бұрын
Great video Erik. You earned a subscriber! Please what theme are you using?
@Kingside883 жыл бұрын
you explained it so well. Thank you Erik! :-)
@ProgramWithErik3 жыл бұрын
You're very welcome!
@alizokaei62394 ай бұрын
i learned vue and nuxt with erik...♥♥♥🍎
@QtheCoder3 жыл бұрын
finally yay!
@jimmyj.67923 жыл бұрын
Nuxtify the world ❤️
@bombrman19942 жыл бұрын
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
@gmkhussain3 жыл бұрын
Great thumbnail... stay classy Impact 🎉🌟
@Mechetle3 жыл бұрын
found this really useful thanks!
@alexArgItaly3 жыл бұрын
Hi, do you know how to access the "$route" object from inside the block? You accessed it from the template using "$route".
@pointgbreak3 жыл бұрын
"const route = useRoute()"
@ProgramWithErik3 жыл бұрын
Yup see @horace comment!
@alexArgItaly3 жыл бұрын
@@ProgramWithErik Thanks for your answer, I really like your videos, I follow you, thanks for sharing what you know.
@Ilya-di4ok3 жыл бұрын
Wait for it.
@mrleblanc3 жыл бұрын
Nice we can use optional changing in template now ? It doesn't work in Nuxt 2 from what I remember
@Useroelas973 жыл бұрын
thank you brother 😉 👍
@coderoutemedia29692 жыл бұрын
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
@avocado_vhs_lite3 жыл бұрын
Это реально магия. Для меня это что-то новое. Спасибо за инфу. Лайк и подписка
@mrleblanc3 жыл бұрын
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 ?
@theTechSimple3 жыл бұрын
Thanks, which font you are using for vs code?
@meffmara6473 жыл бұрын
Thanks 👍
@Isusia3 жыл бұрын
How about review latest Quasar?
@ada.blahblah2 жыл бұрын
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?
@yabuking842 жыл бұрын
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!
@0x4d463 жыл бұрын
Woah, what command was it that replaced the quotes with backticks at 11:51?
@KxKuK3 жыл бұрын
If you're in vim mode you can do cs'`
@atbui40792 жыл бұрын
Great! you help me save a lot of time
@FrankDecker32 жыл бұрын
Hi Erik, I got this message after using script setup: [nuxt] [request error] Cannot read properties of undefined (reading 'setup')
@vals4843 жыл бұрын
AWESOME!
@ProgramWithErik3 жыл бұрын
Thanks!
@i3looi22 жыл бұрын
Is it safe to hardcode api tokens in the server files/component ? Or can those file's code be exposed from clientside ?
@tiborszabo37162 жыл бұрын
What's with the nuxt3 now? roadmap was about maybe stable @dec 2021 but not a single news since @oct 2021.
@OzoneGrif3 жыл бұрын
Very nice. I wonder if there are plugins to make the server-side less cumbersome. Hitting req and res directly isn't very optimal.
@i3looi22 жыл бұрын
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 ?
@alimosbah3 жыл бұрын
Can you do a course on Nuxt Js
@ProgramWithErik3 жыл бұрын
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
@mrleblanc3 жыл бұрын
Is there any replacement for $nuxt.$loading.start() ?
@eMeRiKa3 жыл бұрын
one thing I don't understand is ":src="show.show?.image?.medium" the "?." what is that? what is the name of that? Thanks
@nethsarasandeepaelvitigala1353 жыл бұрын
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).
@eMeRiKa3 жыл бұрын
@@nethsarasandeepaelvitigala135 thanks a lot for your answer! What a nice (new) feature
@nethsarasandeepaelvitigala1353 жыл бұрын
@@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!!
@dhwajsharma3 жыл бұрын
Vscode theme?
@maskman48213 жыл бұрын
This is a pretty awesome Nuxt 3 tutorial, Nuxt 3 is very powerful, really impressed, can't wait to dive it 😎
@jleu34823 жыл бұрын
Is there any github code
@muhammadasifulislam15522 жыл бұрын
Great
@SyamsulAmin17913 жыл бұрын
How to desctructur toRefs in ? return { ..toRefs(state) }
@mrleblanc3 жыл бұрын
There is no return in script setup, everything is accessible directly
@yabuking842 жыл бұрын
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?
@marcelmueller19822 жыл бұрын
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.
@javadnoroozi34763 жыл бұрын
thanks a lot
@ProgramWithErik3 жыл бұрын
You are most welcome
@danielschmider50693 жыл бұрын
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?
@xMrAfonso2 жыл бұрын
Svelte VS Nuxt?
@gabrielverde56493 жыл бұрын
Amazing content, clear and objective. But I fear composition api just turned vue into react. Became confusing and opened the code to bad practices.
@papajohnsuk59652 жыл бұрын
couldnt agree more...
@masoud11282 жыл бұрын
It Turned vue into svelte ^^
@cybanjar40703 жыл бұрын
How to using vuex/store in nuxt 3?
@cvt55232 жыл бұрын
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", });
@ProgramWithErik2 жыл бұрын
Thanks! I'll be going over that in a new video soon!
@rasulyakubov14613 жыл бұрын
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?
@alexandrepellegrino26993 жыл бұрын
vscode theme name? nice vid
@ProgramWithErik3 жыл бұрын
Synthwave 84
@apenasumcanal233 жыл бұрын
um salve do brasil
@ayceod3 жыл бұрын
You know what would really help... 57 more JS frameworks/libraries. Do we think we can have that by the end of Q4?
@pythagoran3 жыл бұрын
Lol salty much?
@mrleblanc3 жыл бұрын
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
@Rivederchee3 жыл бұрын
we are just going to hardcode GIRLS
@arifdevcoding2 жыл бұрын
Look, you can't be a big fan of both react and Vue at the same time
@todayisyourfuture3 жыл бұрын
почему ты говоришь по-англиским, а названия про видео написано на русском язике
@tear7283 жыл бұрын
These javascript framework names get dumber and dumber