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

  Рет қаралды 58,102

Program With Erik

Program With Erik

Күн бұрын

Пікірлер: 88
@Sky_ye
@Sky_ye 3 жыл бұрын
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.
@cnikolov
@cnikolov 3 жыл бұрын
Eric you are always ahead of the game thanks for doing my homework haha
@badasscoder4481
@badasscoder4481 3 жыл бұрын
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.
@ProgramWithErik
@ProgramWithErik 3 жыл бұрын
Wow, thanks!
@eliuddyn
@eliuddyn 3 жыл бұрын
Almost 100k 🔥🔥
@ProgramWithErik
@ProgramWithErik 3 жыл бұрын
So close!
@jaymartinez311
@jaymartinez311 3 жыл бұрын
I was waiting for this!
@xav112
@xav112 3 жыл бұрын
Thanks for sharing! Learned a lot ❤️
@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.
@hasiburrahman1461
@hasiburrahman1461 3 жыл бұрын
I'm really wating for this video. Thanks
@Tundrian12
@Tundrian12 3 жыл бұрын
Can you talk about Nuxt3 state management next? Curious if the new useState functionality has persistence and can really replace vuex?
@eMeRiKa
@eMeRiKa 3 жыл бұрын
would love to have an answer about that!
@gyenabubakar
@gyenabubakar 3 жыл бұрын
Great video Erik. You earned a subscriber! Please what theme are you using?
@Kingside88
@Kingside88 3 жыл бұрын
you explained it so well. Thank you Erik! :-)
@ProgramWithErik
@ProgramWithErik 3 жыл бұрын
You're very welcome!
@alizokaei6239
@alizokaei6239 4 ай бұрын
i learned vue and nuxt with erik...♥♥♥🍎
@QtheCoder
@QtheCoder 3 жыл бұрын
finally yay!
@jimmyj.6792
@jimmyj.6792 3 жыл бұрын
Nuxtify the world ❤️
@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
@gmkhussain
@gmkhussain 3 жыл бұрын
Great thumbnail... stay classy Impact 🎉🌟
@Mechetle
@Mechetle 3 жыл бұрын
found this really useful thanks!
@alexArgItaly
@alexArgItaly 3 жыл бұрын
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 жыл бұрын
"const route = useRoute()"
@ProgramWithErik
@ProgramWithErik 3 жыл бұрын
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.
@Ilya-di4ok
@Ilya-di4ok 3 жыл бұрын
Wait for it.
@mrleblanc
@mrleblanc 3 жыл бұрын
Nice we can use optional changing in template now ? It doesn't work in Nuxt 2 from what I remember
@Useroelas97
@Useroelas97 3 жыл бұрын
thank you brother 😉 👍
@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
@avocado_vhs_lite
@avocado_vhs_lite 3 жыл бұрын
Это реально магия. Для меня это что-то новое. Спасибо за инфу. Лайк и подписка
@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 ?
@theTechSimple
@theTechSimple 3 жыл бұрын
Thanks, which font you are using for vs code?
@meffmara647
@meffmara647 3 жыл бұрын
Thanks 👍
@Isusia
@Isusia 3 жыл бұрын
How about review latest Quasar?
@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?
@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!
@0x4d46
@0x4d46 3 жыл бұрын
Woah, what command was it that replaced the quotes with backticks at 11:51?
@KxKuK
@KxKuK 3 жыл бұрын
If you're in vim mode you can do cs'`
@atbui4079
@atbui4079 2 жыл бұрын
Great! you help me save a lot of time
@FrankDecker3
@FrankDecker3 2 жыл бұрын
Hi Erik, I got this message after using script setup: [nuxt] [request error] Cannot read properties of undefined (reading 'setup')
@vals484
@vals484 3 жыл бұрын
AWESOME!
@ProgramWithErik
@ProgramWithErik 3 жыл бұрын
Thanks!
@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.
@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.
@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 ?
@alimosbah
@alimosbah 3 жыл бұрын
Can you do a course on Nuxt Js
@ProgramWithErik
@ProgramWithErik 3 жыл бұрын
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
@mrleblanc
@mrleblanc 3 жыл бұрын
Is there any replacement for $nuxt.$loading.start() ?
@eMeRiKa
@eMeRiKa 3 жыл бұрын
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 жыл бұрын
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 жыл бұрын
@@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 жыл бұрын
Vscode theme?
@maskman4821
@maskman4821 3 жыл бұрын
This is a pretty awesome Nuxt 3 tutorial, Nuxt 3 is very powerful, really impressed, can't wait to dive it 😎
@jleu3482
@jleu3482 3 жыл бұрын
Is there any github code
@muhammadasifulislam1552
@muhammadasifulislam1552 2 жыл бұрын
Great
@SyamsulAmin1791
@SyamsulAmin1791 3 жыл бұрын
How to desctructur toRefs in ? return { ..toRefs(state) }
@mrleblanc
@mrleblanc 3 жыл бұрын
There is no return in script setup, everything is accessible directly
@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 жыл бұрын
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.
@javadnoroozi3476
@javadnoroozi3476 3 жыл бұрын
thanks a lot
@ProgramWithErik
@ProgramWithErik 3 жыл бұрын
You are most welcome
@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?
@xMrAfonso
@xMrAfonso 2 жыл бұрын
Svelte VS Nuxt?
@gabrielverde5649
@gabrielverde5649 3 жыл бұрын
Amazing content, clear and objective. But I fear composition api just turned vue into react. Became confusing and opened the code to bad practices.
@papajohnsuk5965
@papajohnsuk5965 2 жыл бұрын
couldnt agree more...
@masoud1128
@masoud1128 2 жыл бұрын
It Turned vue into svelte ^^
@cybanjar4070
@cybanjar4070 3 жыл бұрын
How to using vuex/store in nuxt 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!
@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?
@alexandrepellegrino2699
@alexandrepellegrino2699 3 жыл бұрын
vscode theme name? nice vid
@ProgramWithErik
@ProgramWithErik 3 жыл бұрын
Synthwave 84
@apenasumcanal23
@apenasumcanal23 3 жыл бұрын
um salve do brasil
@ayceod
@ayceod 3 жыл бұрын
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 жыл бұрын
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
@Rivederchee
@Rivederchee 3 жыл бұрын
we are just going to hardcode GIRLS
@arifdevcoding
@arifdevcoding 2 жыл бұрын
Look, you can't be a big fan of both react and Vue at the same time
@todayisyourfuture
@todayisyourfuture 3 жыл бұрын
почему ты говоришь по-англиским, а названия про видео написано на русском язике
@tear728
@tear728 3 жыл бұрын
These javascript framework names get dumber and dumber
Nuxt 3 Routing Crash Course
17:12
Program With Erik
Рет қаралды 16 М.
Every New Vue Developer Has Made These Mistakes...
18:04
Program With Erik
Рет қаралды 45 М.
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
Nuxt JS Crash Course
46:08
Traversy Media
Рет қаралды 229 М.
My top 5 favourite Nuxt 3 features
9:36
Tim Benniks
Рет қаралды 17 М.
Vue State Management Pinia Crash Course - Pinia Tutorial Vue.js 3
15:42
Program With Erik
Рет қаралды 50 М.
Learn Vite with Evan You
13:35
Vue Mastery
Рет қаралды 270 М.
This Vue Mistake Was A Real Problem
8:02
Program With Erik
Рет қаралды 3,9 М.
Stop Using Vite - Use This Vite Vue.js 3 Starter Template Instead: Vitesse
19:30
The best way to learn Vue.js in 2024 - CRASH COURSE
57:21
Vue Mastery
Рет қаралды 176 М.