Nuxt JS Crash Course

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

КОМЕНТАРІ • 232

  • @hamzafaysal909
    @hamzafaysal909 5 років тому +35

    whenever I heard about some new technology (language / framework) I come to this channel and search for it because Brad always explains the best... Keep it up! Stay Blessed! : )

  • @apefu
    @apefu 4 роки тому +139

    the "scaffolding" snippet is now named "vue"

    • @BaaicNotBike
      @BaaicNotBike 4 роки тому +8

      Always read the comments folks

    • @adrient104
      @adrient104 4 роки тому

      "vuec" in ST with the Vuejs Snippets pkg 😁

    • @dawnbugay7094
      @dawnbugay7094 4 роки тому

      .vue to me lol idk why

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

      default ...works too .

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

      I went and made a snippet for scaffold because it wouldn't work for me and now I feel really stupid

  • @mattiehoare
    @mattiehoare 4 роки тому +1

    I do many tutorials and you're the only one I can do without having to pause every minute as they are doing it too fast, excellent job

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

    as always, Brad explains it pretty straight forward. Wish he could make a video on NuxtJS and Vuex best practices. That would be awesome. Thanks Brad

  • @jdwoods2008
    @jdwoods2008 5 років тому +6

    So excited for this video. Won't be able to watch it until after the day job, but looking forward to it a lot.
    I'm in process of figuring out a vue build setup for an app I'm working on as a personal project, and I'm sure Nuxt will help.
    Thanks as always Brad!! (10)

    • @garnurikta3982
      @garnurikta3982 5 років тому

      I used Nuxt when my vue project got too difficult
      Nuxt made it more manageable and approachable

  • @TechyEra
    @TechyEra 3 роки тому +11

    Good tutorial. But I think you should have to cover the SSR part also, for which the Nuxt is built.

  • @sharonhasegawa4407
    @sharonhasegawa4407 4 роки тому +16

    37:40 "that's very... unfunny" actually laughed out loud
    thanks brad, you're awesome!!

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

    I'm doing a VueJS test for a company and Brad is saving me again with this and the VueJS Crash Course, I use to worked more with React but Vue is great, I think is easier than React also

    • @praisedare
      @praisedare 2 роки тому +1

      Yeah, it has all the common operations you need already built into the language, (e.g. two-way data binding, event handling modifiers, e.t.c) so you only need to focus on logic, rather than technical details.

  • @iskendev
    @iskendev 5 років тому +89

    Waiting for your MEVN stack course

    • @TraversyMedia
      @TraversyMedia  5 років тому +22

      I will be starting it soon. I have some other updates to do as well though

    • @wingsaber629
      @wingsaber629 5 років тому +7

      @@TraversyMedia Would love a MEVN stack Udemy course as well! I did your MERN DevConnector, would love another different project on MEVN!

    • @dyunior
      @dyunior 5 років тому +1

      yes!!

    • @spiderous
      @spiderous 5 років тому +22

      I like to call it VENoM (Vue + Express + Node + Mongo), just because how cool it sounds :D

    • @avetman9682
      @avetman9682 5 років тому

      @@spiderous Yes its cool

  • @kapa4208
    @kapa4208 5 років тому +2

    Been waiting this for a long time. Thank you my Lord.

  • @adamCoder
    @adamCoder 5 років тому +30

    Dig your channel, bro - blue collar vibe with tech skills. I'm much the same. Excelsior to you, mang.

    • @TraversyMedia
      @TraversyMedia  5 років тому +2

      Thanks :)

    • @lordswaggity1213
      @lordswaggity1213 5 років тому +2

      Blue collar vibe? What gave you that vibe

    • @adamCoder
      @adamCoder 5 років тому +3

      @@lordswaggity1213 working class struggles - You can hear it in the voice and in the stories that Brad tells from time to time. I always like people that don't have an easy road to success: AKA, the working / blue collar class.

    • @Skaxarrat
      @Skaxarrat 5 років тому +4

      @@adamCoder Also not bullshit-speak: Just straight to the point information with proper language without sugar-coating everything with 5$ words nor pretentious crap. And without a 20-30 seconds intro displaying his big house/expensive car/etc.

    • @royalflush13
      @royalflush13 5 років тому

      @@Skaxarrat What UA-cam video shows an intro displaying their big house? 🤔

  • @shachaha
    @shachaha 5 років тому +1

    Wow, You are soo fast with everything! I will check out nuxt right now

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

    I followed this video today. It still works. Thanks!

  • @ralfderijcke
    @ralfderijcke 4 роки тому

    Clear explanation of what Nuxtjs can do. Thanks.

  • @digigoliath
    @digigoliath 4 роки тому

    I don't know anything about Vue or Nuxt but could follow along. Very enjoyable Intro. TQVM Brad!!

  • @garnurikta3982
    @garnurikta3982 5 років тому

    Enjoy Nuxt. Gets you coding with quick results
    Folder structure helps keep things organized for easy development

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

    Enjoyed this crash course. Well executed. Easy to understand. Thanks

  • @Geomaverick124
    @Geomaverick124 5 років тому +4

    So so close...was waiting for an update to Nextjs :)

  • @awaisraza2285
    @awaisraza2285 5 років тому +17

    Please build a Spotify type app like you build in 2016 using angular, but now please in vue js. That will be great Brad

    • @ilijanikolic163
      @ilijanikolic163 5 років тому +1

      Maybe he can also work instead of you, but you will be the one to receive all the credits and money

    • @awaisraza2285
      @awaisraza2285 5 років тому +1

      @@ilijanikolic163 I also buy his udemy django course and when i completed that course i mentioned him in my tweet and thanked him. Money is not everything boy, Development is my passion and i love to learn new technology. I am a landlord and i don't do this for money but i do this bcoz i love to do this ;)

    • @ilijanikolic163
      @ilijanikolic163 5 років тому +1

      @@awaisraza2285, You didn't get it but nevermind, I didn't expect you to. Also, I don't want to spam this awesome man's channel, it's just that you have the idea, there is Spotify app that you can always take a look at and he made a tutorial already showing you how you should think and organize, but you don't even want to try to do it by yourself cause it's easier just type what he is showing, right? Maybe GitHub repo with all the files will be even better, right? But I understand, you don't want to make money, you are just being passionate...

    • @awaisraza2285
      @awaisraza2285 5 років тому

      @@ilijanikolic163 I have built spotify app using core php and Html css and javascript already. I never used angular in past and i don't have any idea about that i just show a demo of that application

    • @ilijanikolic163
      @ilijanikolic163 5 років тому

      ​@@awaisraza2285 Ok ok, whatever man, keep up with the good copy-pasting ;)

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

    Btw, they changed the scaffold keyword. You now have to write "

  • @Geomaverick124
    @Geomaverick124 5 років тому +9

    I have a feeling that eventually Vue will over take React and Angular eventually since it is supported by the community and not by a single company. If Facebook or Google somehow fail then the frameworks will have to be maintained by those that may not want to update it unlike vue that is maintained by more than one person

  • @Alessandro-nq3tm
    @Alessandro-nq3tm 5 років тому +18

    Amazing! Nuxt should be integrated into Vue itself

  • @happyoe398
    @happyoe398 5 років тому +1

    Amazing as always Keep it rolling Brad 👍 thanks for the great content you provide

  • @trunkmak_xo
    @trunkmak_xo Рік тому +1

    Very good tutorial even as a beginner I could understand and follow everything 👌

  • @NerdyKatsChannel
    @NerdyKatsChannel 5 років тому +2

    IM SO FLIPPING HAPPY ABOUT THIS!!!! 🙏🏽

  • @NewtonJR1987
    @NewtonJR1987 4 роки тому

    That was a very nice crash course! I definitely will use nuxt on my projects.

  • @wotan91
    @wotan91 5 років тому +17

    Ekhm... You've missed the most powerfull part of Nuxt.js - Server Side Rendering.

    • @matthewlee8001
      @matthewlee8001 5 років тому +9

      Yeah seriously this was 5 minutes of info about nuxt and 40 of building a random vue application.

    • @jnbsp3512
      @jnbsp3512 5 років тому +2

      Well he did manage to show how routing works with Nuxts directory structure instead of plain vue-router. But he actually bungled his Axios, instead of using/registering its nuxt module he imported plain axios manually. (Which works since plain axios is depended on by nuxt-axios so it will be in his node_modules even when not listed in package-json.)
      It still is a great video so I'm glad he makes it available for free :)

  • @rifatspk
    @rifatspk 5 років тому +4

    Hey Brad! Nice course you have made. Thanks. By the way, will you make a video series or crash course on nuxtjs with mongodb and express?That will be a good way to learn about nuxt. Have a good day.

  • @stevendornan7979
    @stevendornan7979 5 років тому +1

    Brilliant tutorial on Nuxt! Thanks Brad :)

  • @BrunoDeAngelis
    @BrunoDeAngelis 5 років тому +4

    Hey Brad, one question. Why didn't you use the asyncData method in Nuxt? That way you get the jokes rendered on the HTML, because the created() method on Vue is rendered client-side. Just a thought. Great vid!

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

    Respect From Pakistan. Huge fan of you and your content.

  • @garnurikta3982
    @garnurikta3982 5 років тому

    Nuxt and Vuetify create a powerful combo

  • @AzeezGafar
    @AzeezGafar 4 роки тому +1

    Awesome Brad, thank you for everytime!

  • @khamdamov
    @khamdamov 5 років тому

    Thanks Brad. I have just finished your Django dev to deployment course. It was really a practical content and I've got most out of it. But Deploying has still become the hardest part for me :). Can you make only one video how to deploy django project to custom host and connect with custom domain. (I dont mean heroku, aws or digitalocean, I really mean own server. For example Ive bought host and domain name, and how to deploy django project into that server and connect with my own domain). Thanks for all in advance. I really appreciate your effort.

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

    Brad you are the man. Thanks for this video!

  • @mahdizerara9217
    @mahdizerara9217 5 років тому +4

    Thank you for you awesome videos :)! I just have a question! When you say that the SSR with NUXT helps improving the SEO. How is it different from having an SPA with modules that also improve the SEO such as: vue-meta?

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

    Thanks man this introduction helped me a lot :)

  • @PlayRiteProductions
    @PlayRiteProductions 5 років тому +3

    You always on time man, thanks bro👍

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

    nah man this one course was REALLY rushed and i love ur stuff

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

    Hi Brad, really amazing tutorial but I have one question, which one do you prefer for yourself: Next or Nuxt?

  • @Mishawitcher
    @Mishawitcher 5 років тому +1

    Thank you, man! Great crash course!

  • @lordswaggity1213
    @lordswaggity1213 5 років тому +2

    You read *Nut JS* and so did I 😁😁😁

  • @HunterNunnery
    @HunterNunnery 5 років тому

    Awesome video. I absolutely love Nuxt.

  • @mabrurahmed3304
    @mabrurahmed3304 2 роки тому +1

    i had to manually add my layouts folder as, for some reason, mine didnt come built-in. Also had a sort of different folder layout than brad, i dont know what i did wrong, but even the setup was asking different questions. i just went with whatever felt right

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

      Akhi this is an old tutorial. Things change each year. I am facing the same thing. Now (as of Oct 2022), NuxtJS has a different default folder structure upon doing create-nuxt-app

  • @adekorir
    @adekorir 5 років тому

    Hi Brad, I love your videos. You're an inspiration.

  • @PeterAkaliro
    @PeterAkaliro 5 років тому

    Hey Brad, thanks for the video. I just started a project with Nuxt js yesterday and I am stuck with trying to figure out how to add materialize css with custom jquery to nuxt js without cdn. I will like like you to do a Udemy course on full stack Nuxt with projects. Thanks

  • @trunkmak_xo
    @trunkmak_xo Рік тому +1

    Of course let’s search for „nut“ 😂

  • @lakshmangope8963
    @lakshmangope8963 5 років тому +1

    Amazing! Keep up the good work.

  • @mrMinstrel
    @mrMinstrel 5 років тому +2

    Thanks Brad!

  • @emmanuelkaranja1853
    @emmanuelkaranja1853 4 роки тому +1

    Kindly do a course on Nuxt page transitions :)

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

    Why do you use the lifecycle method "created", when nuxt.js brings an own method for components. async fetch()... which will automatically put itself in the right lifecycle

  • @mateusspadari5171
    @mateusspadari5171 4 роки тому +1

    Great tutorial bro ! God bless you.

  • @kapilchauhan7954
    @kapilchauhan7954 4 роки тому

    Yes, this is what I was looking for😊😊😊

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

    NuxtJS is all about SSR, which means access remote api and store the data in asyncData, fetch or nuxtServerInit in vuex store, but this tutorial didn't even talk about this, I think Mr. Traversy didn't read the document carefully, this project has no ssr, it is just like a normal vue-cli project !!!

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

    Great tutorial, thanks. Loving the jokes too :D

  • @huanshao2165
    @huanshao2165 4 роки тому +1

    great tutorial, thanks!

  • @DI3GOskill
    @DI3GOskill 4 роки тому

    Thanks this is really handy!! It is a bit painful to see a workflow without Typescript, waiting for errors in the browser, but I guess there are good ways to use TypeScript with Vue?.

  • @Geomaverick124
    @Geomaverick124 5 років тому +1

    Are you going to be doing a Vue front to back with Nuxt and Vuex and/or Laravel?

  • @vlad11112
    @vlad11112 5 років тому

    If you dont know what to do a tutorial on in the future, it would be awesome if you could cover victory.js

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

    Great course!

  • @MecegguemMohamed
    @MecegguemMohamed 4 роки тому

    hi thanks for the tutorial , just one question , will google search index pages by id of jokes or just the /jokes page ??

  • @josuebarros-desenvolvedorw2490
    @josuebarros-desenvolvedorw2490 4 роки тому

    Hmmm, what is better to a VueJs and ReactJS beginner like me: NuxtJS or NextJS?

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

    Very useful. Thank you!!!

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

    Nice. Thank you for this.

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

    made mine a little different and used the image api instead

  • @habibi9497
    @habibi9497 4 роки тому

    Thank you for a good video to learn Nuxt.js😀!!

  • @Mahmudulhasan-ts5hm
    @Mahmudulhasan-ts5hm 4 роки тому

    Apparently on the new versions you have to use "vue" instead of "scaffold"

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

    Nice course , Amazing . Thanks

  • @RahulAhire
    @RahulAhire 4 роки тому

    I think we can use react helmet for SEO

  • @kodeDev
    @kodeDev 5 років тому

    Is it just me...this install is not working for me with any of the methods provided - npx, npm, or yarn.

  • @alpercaner2923
    @alpercaner2923 5 років тому +1

    is there a way to make axios request from serverside so we can render full html before sending to user? this would be much better for seo. I mean when we request /jokes directly all html should be rendered on serverside. but if we client /jokes link from index by using top navigation ajax request should happen on clientside. I imagined nuxt would do that automagiccally

  • @twjr4547
    @twjr4547 5 років тому

    Cool stuff thanks brad

  • @AhmedEssam-lv5vn
    @AhmedEssam-lv5vn 5 років тому

    I am working in upgrading an ERP system and I was wondering, is it a good decision to change the Vue project to Nuxt? And please suggest benefits if the answer is yes. Please put in your consideration I don't need SEO since it is an ERP system.

  • @DaveCollison
    @DaveCollison 4 роки тому

    Excellent. Thank you!!

  • @perfect.stealth
    @perfect.stealth 2 роки тому

    I tried Nuxt and i honestly think it's SO BAAD. Especially after they removed the "special folders" (layouts, assets etc).
    I understand they want to make less boilerplate code but what they are doing is basically taking away all the control of the project from you.
    It also does alot of things in its own way which i dont dislike.

  • @Decoy1982
    @Decoy1982 5 років тому

    Hi Brad, do you have more videos on this topic? So I've been reading up on this, and I am still slightly confused. Does this replace the need for a Server Side language like PHP? Or would/could you still use it in conjunction with a server side language?

    • @cla1814
      @cla1814 5 років тому

      This does not replace PHP or any other server-side language. In fact you can use Nuxt.js with Laravel API for back end.
      Nuxt.js main use is Server-side rendering. Basically, the page gets rendered on the server instead of the user browser.
      So instead of sending Javacript to render on the user browser it already send the rendered page (html page) from the server.
      This solve the issue Frameworks like React, Angular and Vue has that when you inspect the site source you don't see the HTML or the content that web crawlers can crawl. Google Crawler can still crawl the content but it takes a lot of resources so google delay your site for later as well the crawling still has issue since it has to crawl Javascript instead of HTML.
      If you know vue what you see is for example instead of seeing the HTML Template made in Vue component template area.

  • @gopinathkrm58
    @gopinathkrm58 5 років тому

    Angular Material Brad

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

    Very helpful , Thanks

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

    Pre-COVID vid, always makes me sad a tad

  • @taghwomillionaireo.5543
    @taghwomillionaireo.5543 5 років тому

    Like before viewing

  • @abazur7742
    @abazur7742 5 років тому

    Cool! Are you going to remake your mern stack series? I heard you rewritten your code but you didnt update it ...

  • @OyedeleSegunfunmi
    @OyedeleSegunfunmi 5 років тому

    Great content. Thanks for this tutorial. I have a question. What's the difference between creating a 'computed' property and have a lifecycle method like 'created'? Thank you.

    • @bazzle_brush
      @bazzle_brush 4 роки тому

      A computed method simply changes the view of the data without mutating the data itself.

  • @turtleyoda7703
    @turtleyoda7703 4 роки тому

    Great video! Thanks

  • @arminb8425
    @arminb8425 5 років тому +1

    What's the reason for using async created() and code after that, instead of the usual axios.get('').then(res => {}) syntax?

    • @intwebtut5584
      @intwebtut5584 5 років тому +2

      Its because SSR. Axios is a promise and takes some time to fetch the data. That means it doesnt get server side rendered and that means the data is not visible for Google's crawler. When you would click right-click and then on "inspect page" you wont see the data from the axios call

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

    Can you please a crash course for nuxt 3 as well?

  • @humanontheinternet6510
    @humanontheinternet6510 5 років тому

    Finally nuxt😍😍😍

  • @maulanaluckyyulianto8141
    @maulanaluckyyulianto8141 4 роки тому

    thanks Brad

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

    How does state work with Universal? Like how do you get to another page and have state from the previous page other than passing params? Is Vuex only for use with SPA mode? Or is it that on the front end a universal nuxt site behaves like a spa and so the vuex store is preserved between page loads?

  • @derricknjoroge2494
    @derricknjoroge2494 4 роки тому

    You are just amazing

  • @ghouston2712
    @ghouston2712 4 роки тому

    You da man! Fucking love Nuxt.js

  • @jscoders694
    @jscoders694 5 років тому

    Waiting for your MEVN stack course :x

  • @codenlighten
    @codenlighten 4 роки тому

    Nice brother 🔥

  • @aydinacar9277
    @aydinacar9277 5 років тому +1

    awesome. but you could use it with Express?

    • @AI-lb5qy
      @AI-lb5qy 3 роки тому

      I was just wondering what's the advantage with Express? My only dependencies now are core-js and nuxt, and the site works :-)

    • @AI-lb5qy
      @AI-lb5qy 3 роки тому

      I run with PM2

  • @aitohideki1947
    @aitohideki1947 4 роки тому

    We can use tag to show client-side only content, huh?
    Then how can I render server-side only content?
    Thanks

  • @gregorymurunga8046
    @gregorymurunga8046 5 років тому

    thank you for the explanation..

  • @levieraf
    @levieraf 5 років тому

    Bro, you are awesome!! thanks!!!

  • @elliot_yoyo
    @elliot_yoyo 4 роки тому

    Thanks for the video

  • @TechDetour
    @TechDetour 4 роки тому +1

    Perfect ❤️

  • @fofort55
    @fofort55 5 років тому

    Hi, very nice video for a beginner like me. Could you give me the extensions and the settings you are using in your VSCode. thanks

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

    Excellent