Vue.js 2.0 In 60 Minutes

Поділитися
Вставка

КОМЕНТАРІ • 474

  • @ericmann8976
    @ericmann8976 7 років тому +99

    Hi Brad,
    My name is Eric Mann. I wanted to thank you for taking your time to do your tutorials. I was confused on how Vue.js worked together. But, after watching your Vue.js crash course I was able to comprehend how Vue works and also how everything fits together into a very useful user experience. Your teaching style is one of the best that I have seen on UA-cam. You take the time to make sure that what you are teaching is simple enough for everyone to understand, but also in-depth enough so someone could venture out farther from the shore. I am an o;d programmer trying to learn a new web technology and you have a real blessing in what you do. Please, don't stop teaching.
    Thanks so much Brad!

  • @roosah6749
    @roosah6749 7 років тому +1

    I never hesitate to recommend Brad Traversy as the go-to guy for learning any sort of stuff related to programming!!! Hats off to you dude, because of you I can now claim that I know Vuejs. Your" in 60 minute" series is mind-blowingly amazing!!! Great work, keep it up.

  • @DANJUMA9
    @DANJUMA9 7 років тому +11

    Starting a new job tomorrow where vue js is used. This video is a treat! Thanks

  • @caeronseabourne7567
    @caeronseabourne7567 6 років тому

    I have managed to land myself my first web dev job and a big part of it was thanks to you and your courses Brad. Just sent you a donation too, absolute legend! Cheers!

  • @naveenagarwal287
    @naveenagarwal287 7 років тому +15

    Your tutorials are super simple to follow. Thanks for the effort you put in to provide this video.

  • @TheSETJ
    @TheSETJ 6 років тому +2

    I've worked with AngularJS before and already learned React a bit and I'm really surprised how simple Vue is. I first told myself I never use it, it's very easy and simple, but later I thought that's an advantage already and it does not make sense to throw Vue away because of that.
    Thank you for this intro, Brad.

  • @Thecrznd
    @Thecrznd 7 років тому +42

    I got a new job as a viewjs developer ! was working as an angular developer. Thank you brad your tutorial helped a lot.

    • @lancerino765
      @lancerino765 6 років тому +2

      Hi. I was interested to become a vue js developer. can u explain hows the environment working with vue in your company. I would be grateful. thank youuu.

    • @secret-alias
      @secret-alias 6 років тому +26

      Viewjs. 😂

    • @bluebird0511
      @bluebird0511 6 років тому +26

      the fact that you can't even write down the name of the framework you're using ...

    • @Potenti4lz
      @Potenti4lz 6 років тому

      lol, actually made me lol twice! 😂👌

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

      @@lancerino765 hahahaha

  • @ahmedmusawir
    @ahmedmusawir 8 років тому

    Bro, THANK YOU!! ... for another gem of a course ... you actually taught me Angular2 ... forever grateful!! Here are a few sincere requests:
    1. Angular2 + Firebase
    2. Angular2 + Ionic + Firebase
    3. Vue JS 2 + AJAX
    Thanx in advance.

  • @seanlangley7467
    @seanlangley7467 7 років тому

    Need to get a job to buy "FULL VUE.JS COURSE" because I like the way how you teaching. It's amazing! Thank you so much Brad!

  • @danieliuskreivenas5539
    @danieliuskreivenas5539 6 років тому

    That is the best introduction I've seen on the web. Thanks for your effort and for sharing premium level content for free! I'm a big fan!

  • @serodev
    @serodev 7 років тому +1

    Great tutorial! Quick tip: If your already in your project directory in Terminal, you can use the command "atom ." to open the directory inside Atom. Great for those keyboard power users.

  • @MatthewScerriM
    @MatthewScerriM 7 років тому

    Thanks. For someone who is used to other frameworks, this hour gives an excellent overview. Great work!

  • @Geekstocks
    @Geekstocks 7 років тому

    Super helpful video. Was so complete that it took several days to really parse through it all while coding along. Thanks for easing the transition to Vue!

  • @aseemlalfakawma5084
    @aseemlalfakawma5084 7 років тому

    Thank you so much man, these tutorials are priceless, I really needed to understand how vue.js works as I'm working on a project in laravel and we're trying to stay off jQuery and this video has taught me a lot. Keep up the good work mate.

  • @klokibril
    @klokibril 6 років тому

    Very nice. One of the few tutorials I actually watched until the end.

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

    Thanks man, I donated some money to support you!

  • @navenprasad25
    @navenprasad25 7 років тому

    You are seriously the best teacher I have ever had. Thank You!

  • @NoahNobody
    @NoahNobody 7 років тому +1

    If you are using Visual Studio Code, having the Vetur addon is a really big help.
    *Features:*
    Syntax-highlighting
    Snippet
    Emmet
    Linting / Error Checking
    Formatting
    Auto Completion
    Debugging

  • @olivercordingley1201
    @olivercordingley1201 6 років тому +2

    Tip: instead of using "npm install --save " or "npm install -g " just use "npm i -S "/"npm i -g "

  • @leozeng6696
    @leozeng6696 7 років тому

    I had done use Vue.js 2.0 a period of time, Although the video is basic, but it's very helpful, thanks for making this video and sharing with everyone

  • @rafgarofalo
    @rafgarofalo 7 років тому

    I am coming from Angular and Polymer and I just needed this. Quick and dirty but you drive through all features of Vue.js
    Nice job, if you do the same also for Typescript it would be awesome.
    Thanks for the time spent on this, appreciated!

  • @jpzod1536
    @jpzod1536 7 років тому

    Dude! that was awesome and really helpful, i will buy the full course to support! greetings from Dominican Republic. :)

  • @keremkambur2421
    @keremkambur2421 7 років тому

    Very straightforward tutorial. That one is a really crash course.

  • @SkylarkMotion
    @SkylarkMotion 6 років тому +1

    Really nice video... and by the way, although is an off topic comment, with the soft sound of that keyboard it seems like an asmr video, so I was learning in a relaxed fashion

  • @bettadevindonesia9246
    @bettadevindonesia9246 6 років тому

    Hi Brad, am from Indonesia! In every tutorial you created am so excited to upgrade my skill in programming. Jah Love You and Jah Bless!

  • @maxoys45
    @maxoys45 7 років тому

    Really great video - easy to follow and well spoken. Would be really keen to see a video that works with a database. Does your full course include this? thanks!

  • @SANDEEPAGRAWAL003
    @SANDEEPAGRAWAL003 6 років тому

    Very nice quick tutorial to cover almost all basic topics and very well explained. Keep us the good work.

  • @JacquesvanWyk
    @JacquesvanWyk 8 років тому +1

    Good intro and yes would like few projects with Vue.I was listening on my headphones and heard this banging and kept looking around what the hell it was lol then you said its your son.Thanks Brad you are making me great programmer.

  • @MopeyFand
    @MopeyFand 6 років тому

    The distinction between the conditional directives "if" and "show" is actually quite important.
    If Vue.js is anything like Angular;
    - "if" will either render an element to the DOM only if the expression evaluates to true, otherwise it isn't rendered (or is removed).
    - "show" will render it to the DOM regardless of whether the expression evaluates to true or not, then only the elements visibility is affected by the expression outcome value.
    This can be a headache when validating forms or running UI tests, so it helps to keep it in mind.

  • @cleverminds19
    @cleverminds19 6 років тому

    Great Video for Vue. I need clarification for as you said the v-show is similar with v-if on 10:45sec in your video it is not true, v-show only hide element like its style CSS will display none, but in v-if it will remove the element completely.

  • @GmoneyMozart
    @GmoneyMozart 7 років тому +4

    I'm late to the party but I'm slowly knocking these out. Thanks so much!

  • @betts12220
    @betts12220 8 років тому

    Excellent tutorial as usual. Was hoping you would go into "master-detail" functionality (click on the user to see their details for example) using the router though. Currently there aren't many clean, simple examples of this online that I can find.

  • @minucocat
    @minucocat 6 років тому

    one of the best tutorial for vue.js for beginner. Thank you so much.

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

    Very useful and effective web tutorials. Thank you traversy! I was inspired by you to make more Filipino/tagalog tutorials for my country

  • @edmilinski1295
    @edmilinski1295 6 років тому

    beautiful. best one hour tutorial so far.

  • @schemagroup1
    @schemagroup1 6 років тому

    Definitely enjoying this tutorial, you remind me of Lee Brimelow, back when I was a Flash Developer. But since I liked it so much, I'm going to purchase the full tutorial, keep at it!.

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

    Awesome video man! I've done a lot of Angular work and am going to start working on a Vue project so you're tutorial was perfect!

  • @pdvega6350
    @pdvega6350 7 років тому

    Thank you for the video. This video helping me as a newbie in knowing deep about front-end framework using vue.

  • @JonasKuske
    @JonasKuske 7 років тому

    45:47 You can simply put .prevent after the @submit handler instead of doing e.preventDefault! :)
    _( so )_

  • @juancarlosfigueroa617
    @juancarlosfigueroa617 7 років тому

    Hey great crash course on VueJS i think i will be buying the full course i will be sure to check it out on udemy btw i also liked your course on bootstrap 3 great material very helpful and right to the point, keep going your work it's really appreciatted!!

  • @wingushk
    @wingushk 7 років тому

    Thanks. it is really good Vue.js intro for a beginner. It helped me a lots in picking it up.

  • @009MAMAX
    @009MAMAX 7 років тому +4

    i'm just curious, why we can't type an es6 function syntax inside the methods property? please give us some info, thanks in advance for ur superclear video!

    • @Gashdal
      @Gashdal 6 років тому +4

      because it changes the scope of the 'this' keyword.

  • @frosty2912
    @frosty2912 6 років тому

    Firstly, I must say your tutorials are great and I appreciate all the time you put into teaching the community.
    My thoughts on frameworks (in general). I think frameworks teach or rather don't teach people know how things really work. (ex. Needing jquery to access the dom instead of just using pure js). There is nothing wrong with using a framework but if the author HAS to use one (ie. is unable to write it in pure JS) then I think they need to learn the fundamentals first. If people are just starting out I feel they should understand how to write such an app without a framework before using one for speedy development.

  • @maxkehayov
    @maxkehayov 6 років тому

    Good job! Nice walkthrough for beginners (like myself), before diving into the documentation. Thanks for the introduction! :)

  • @isurumdev
    @isurumdev 7 років тому

    In 8:46 var should be simple case right? JS is case-sensitive right? Anyway, your videos are very helpful. Please don't give up and keep the good work.

  • @alexwhb122
    @alexwhb122 6 років тому

    Awesome video! thank you very much. I feel like I learned all I need to know to get up and running, which is just what I need. It also seems like Vue and React share a lot of similar API characteristics, though I really love how Vue mixes css into the component files.

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

    Great, fluent, right to the point.

  • @eitaboba1035
    @eitaboba1035 6 років тому

    Hey man. Thank you very much. I used to program in Angular. But vuejs is very simple when compared to. You helped me a lot to migrated. \../

  • @christherlenander539
    @christherlenander539 8 років тому

    Nice tutorial. Only question I have is when you use vue router you put the in the javascript file instead of in the index file?

  • @vikaschoudhary9149
    @vikaschoudhary9149 7 років тому

    Excellent tutorial! Just wanted to ask that if I want to display a new component under the router div which is independent of the router and is to be just used for displaying another content, then how to do that? This is my first time with Vue. With your tutorial I implemented everything very smoothly. Thanks a lot!

  • @MJVNijhoff
    @MJVNijhoff 7 років тому

    Good, useful for getting started or used to Vue. Please consider using color syntax in ur videos. Even if you don't prefer it, a lot of people do and it would make the code easier to read.

    • @MJVNijhoff
      @MJVNijhoff 7 років тому

      LOL spoke too soon @23:30

  • @christopherderrell8470
    @christopherderrell8470 6 років тому

    Hey Brad. Great video, love the quality control. I noticed an error with the computed properties when I tried using ES6 arrow syntax for the function declaration; it wasn't picking up the ```this``` keyword, which I'm guessing has to do something with binding?
    Would love some clarity if possible. All the other areas so far work perfectly with the ES6 arrows.

  • @8Kexperience
    @8Kexperience 6 років тому +2

    I have vue components but data is coming different server in one big JSON for all components. What should i have in my component data method?

  • @MuffinologyTrainer
    @MuffinologyTrainer 6 років тому

    Just as always, gold quality.

  • @markifornia
    @markifornia 7 років тому

    Great videos. Just the right pace and flow.

  • @joeynovak07
    @joeynovak07 7 років тому

    Dude, LOVE your crash courses. Thanks!

  • @MrBan001
    @MrBan001 6 років тому

    I have never used one of these Frameworks before! But now i'm required to use one for my next assignment! What should i use? Should i try diffrent ones or just one and stick with it?

  • @nunoalmeida1970
    @nunoalmeida1970 6 років тому

    This was a great introduction to Vue.js! Thank you so much!

  • @ahmedslink
    @ahmedslink 6 років тому

    Thanks a lot dude, It's awsome to cover all of this on 60 mins :)

  • @liammoir6075
    @liammoir6075 6 років тому

    Coming from Angular, this is surprisingly similiar, however, within the the last 3 or so minutes of the video. Brad uses .$mount('#app') at the end of the new Vue. Why is this? I see we are using within the template, but why is the mounting necessary?

  • @luissantiago7978
    @luissantiago7978 8 років тому +2

    Nice crash course. Can't wait to see your website!
    Was wondering if you knew any of the C languages or java? If so what IDE do you think is best for Linux?

    • @ihor1337
      @ihor1337 8 років тому +8

      In my opinion IDE's from JetBrains are the best.

    • @luissantiago7978
      @luissantiago7978 8 років тому

      ihor1337 I'll have to check it out. Thank you for your input.

    • @aditkirtani2261
      @aditkirtani2261 7 років тому +1

      Eclipse is a must have for Java.
      But for other languages I agree with ihor1337 that the JetBrains IDE's are the best

    • @gosnooky
      @gosnooky 6 років тому +1

      JetBrains' IntelliJ wipes its ass with Eclipse.

  • @juanmamani2110
    @juanmamani2110 7 років тому

    Thanks! it really helps a lot! Now I'm dealing with Vue Admin Panel Framework based on Vue js!!

  • @chintum
    @chintum 7 років тому +4

    Could you please create Crash Course on Polymer JS

  • @StrexGamer
    @StrexGamer 7 років тому

    thanks for a wonderful tutorial ... just a slight problem, my styles dont seem to be imported (they dont apply at all) while using the router

  • @GurjitSingh-yq8hi
    @GurjitSingh-yq8hi 6 років тому

    Really you are too Good. Thanks Traversy Media

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

    Great video for beginners.Thank you

  • @Amivit
    @Amivit 7 років тому

    Instead of v-on:click you can do @click. Instead of v-bind:src you can do :src
    so : and @ for nice shortcuts :)

  • @willfang3229
    @willfang3229 6 років тому

    Hey Brad, are you coming out with a project based course for Vue.js anytime soon?

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

    Is there a reason why you have the *Projects* directory in the *C drive* where the installed programs are? Does no that make the computer slower?

  • @jonecir
    @jonecir 7 років тому

    Hi, great tutorial and very useful. I have two questions, if I may:
    1. Since you pull the users from that jsonplaceholder site, how do I then set the contacted field?
    2. What if at the beginning I want to hide the two screens and shows only the two links, how can I accomplish that?
    Thanks for the good work.

    • @StefanBlattmann
      @StefanBlattmann 7 років тому +1

      Hi Jonecir,
      I hope you have already solved your issue. If not try this:
      In "Users.vue" replace the code of "created" with:
      created: function(){
      this.$http.get('jsonplaceholder.typicode.com/users')
      .then(function(response) {
      let data = response.data,
      item;
      for(item in data) {
      data[item].contacted = false;
      }
      this.users = response.data;
      });
      }
      You will notice that I add the contact value to the result inside the promise.
      Good luck!

    • @CrizantLai
      @CrizantLai 7 років тому

      For your second question, just create an empty component and put it into the index route.

  • @themathdude
    @themathdude 8 років тому +1

    How you present is excellent, easy to learn and pick up details quickly, thx.
    Do you have a mini course (eduonix or elsewhere) that takes this video one better by combining vuejs 2 with featherjs 2 (using socket transport) with say nedb. Lots of stone turning videos but very little view of the forest (stack) say building a simple but completely illustrative extensible app. (but not yet another todo or chat!). Throwing in quasar would be a plus (everyone always leaves the decent layout and styling out and that's a big time suck).
    I'm a one man shop. I design/build/set up real-time hardware (iot stuff too) and I need to not only be a hardware guy but come up with the end user software interface. To have a truly extensible example of this stack would allow me to concentrate on hardware.

  • @haciendadad
    @haciendadad 7 років тому +6

    What was the Atom command that you used to have Atom treat your .vue file like a HTML file?

    • @silviateona4388
      @silviateona4388 7 років тому +1

      the set syntax package :) use it by bringing up the command palette and typing "ssh" for instance, to set syntax for html

    • @tristangruener9571
      @tristangruener9571 7 років тому +2

      you will need to install the package first. Preferances -> +Install -> search Vue
      I selected the first package with the most downloads 'language-vue'. Install the package, then in your code file if it doesn't auto apply to new .vue files, you can set it manually

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

      In fact you don't need to use any packages. In the bottom right corner of Atom editor you have few settings and one of them is syntax (by default: plain text). Second method is a shortcut: ctrl+shift+L

    • @kervensjasmin1508
      @kervensjasmin1508 7 років тому

      control+shift+L

    • @dcscott100
      @dcscott100 6 років тому

      THANKS to all who answered!

  • @JenniferJames-gj4ol
    @JenniferJames-gj4ol 6 років тому

    LOVE N RESPECT YOUR EFFORTS

  • @VentusLionheart
    @VentusLionheart 7 років тому

    I've been watching all these videos to see which Framework I should learn! I've gone through Angular and Ember ... I like Ember a little more. Angular just seems like a clusterfuck! I've heard good things about Vue and React .... Do you have any recommendation on Frameworks I should master?

  • @sunnyRVrocks
    @sunnyRVrocks 6 років тому

    Awesome. Just confused about one thing that how the files index.html, main.js , app.js glued together. Any help highly appreciated.

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

    Hi Brad,
    Aswome explation no words to tell about you pretty helpful vedio to new to Vue people also thanks a lot 🎉👏👏👏👏👏👏👏👏👏👏

  • @justy1337
    @justy1337 7 років тому

    I'm using the most current version of node, vue, etc. but there are some extra options now with the version of vue-cli such as asking for installing vue-router. Also, the dev-server.js is missing

  • @marcoangelo
    @marcoangelo 6 років тому

    whats the advantage of defining functions on the methods object as properties, rather than just as functions on the methods object?

  • @c094728
    @c094728 6 років тому +4

    When it created my app it created a index.js file containing a new Router() with a route to the HelloWorld Component. That was different from the video. Later version of vue?

    • @juliamiskey1681
      @juliamiskey1681 6 років тому

      Having the same issue here

    • @DmitriyIDK
      @DmitriyIDK 6 років тому

      just choose not to create router during 'vue init'

  • @Gray-Wolf-Media
    @Gray-Wolf-Media 8 років тому

    Any way to add to the full stack developer course you just released

  • @manuelsuarezabascal75
    @manuelsuarezabascal75 6 років тому

    Thank you so much for this crash course! It was really useful to me!

  • @jenjen3
    @jenjen3 7 років тому +3

    Great video :) I'm actually getting the hang of it. Very well explained, thanks!

  • @Joystickmx
    @Joystickmx 6 років тому

    Awesome Brad, can you help me out?, i want to implement vue.js on a existing php project I'm working on, just for making some stuff modular, so I don't want a complete vue.js app, just some modules, is it possible?

  • @ginil
    @ginil 6 років тому

    Great tutorial mate. Is the source available?

  • @Roudter
    @Roudter 6 років тому

    Why at 23:28 is this a secret how to view as html?

  • @robertsibek
    @robertsibek 6 років тому

    Thanks Brad, it was nice introduction.

  • @sangwonluxlee3567
    @sangwonluxlee3567 8 років тому

    A great guide for beginners! deeply thx for this video. :)

  • @BenSmith-et9fv
    @BenSmith-et9fv 7 років тому +19

    Helpful video, thanks!

  • @stewiegriffin6503
    @stewiegriffin6503 6 років тому +50

    at the time, software development is just fkd up, and it's only getting worse.
    Every basement is developing new frameworks and bringing new complexity into the game

    • @hatemsaad3421
      @hatemsaad3421 6 років тому +2

      I couldn't agree more

    • @buskinglankans
      @buskinglankans 6 років тому +1

      It keeps bullshitter away from the SE industry.

    • @Sc0rpic0m
      @Sc0rpic0m 6 років тому +8

      Just on the FE front. Back end is alot better. But I long for the days we had just bootstrap, css and jQuery. For now I focus more on the BE. Yes I am not as cool as the latest kool kids club FE script kiddies, I accept that.

    • @viscafcb9911
      @viscafcb9911 6 років тому +1

      omg, it's exactly i think about

    • @LeathanL
      @LeathanL 6 років тому

      @@hatemsaad3421 Seems like it's all calculated to make any experience older than six months useless.

  • @sebbes333
    @sebbes333 6 років тому +2

    I wish UA-cam had a faster playback speed than 2x :/
    Great tutorial!

  • @ricardocotillo2199
    @ricardocotillo2199 7 років тому

    I love your videos man, I learn so much

  • @MikeyMiner
    @MikeyMiner 7 років тому

    Great video. I've seen some other videos of yours in the past - always good quality content and flows well.
    Though I'm wondering, how come you didn't install the 'language-vue' package for Atom for the automatic syntax highlighting and such?

    • @TraversyMedia
      @TraversyMedia  7 років тому

      I didn't realize there was a plugin at the time. I use it now all the time.

    • @MikeyMiner
      @MikeyMiner 7 років тому

      Ah, okay! Thanks for the quick reply.

  • @ekabelly
    @ekabelly 6 років тому

    hey! thanks for this amazing video!
    is it possible to use typescript with vue? is it reccomanded?

  • @akinhwan
    @akinhwan 7 років тому

    wow that was a blur, learned a bunch!

  • @gastonyelmini
    @gastonyelmini 6 років тому

    What is the difference between using vue-resource and using axios to get content?

  • @jordanm2386
    @jordanm2386 8 років тому

    Thank you mate, nice crash course. Gonna take a closer look now :).

  • @memsey
    @memsey 6 років тому

    Really great crash course video, thanks for this!

  • @SamehFakoua
    @SamehFakoua 6 років тому

    Great tutorial, step by step, can't be better, thumbs up.
    Great voice BTW, you should be on radio!
    Thank you.

  • @mo.ali.
    @mo.ali. 7 років тому +20

    What is the difference between computed and methods this It distracts me

    • @MrSwain4
      @MrSwain4 7 років тому +12

      Computed properties are meant for doing modifications of data inside your app locally. An example of this is reversing a string that is stored inside your vuejs app. Methods are simply functions which are used for more complex tasks that aren't simply modifying data. for example: add this item to a list and make a http call using vue resource.

    • @vedranjosipovic7673
      @vedranjosipovic7673 7 років тому +17

      Computed is cached

    • @mohanphpmysql
      @mohanphpmysql 7 років тому +6

      Computed will never process untill the dependency data gets updated. If your dependency data has heavy manipulation its better to stick with computed. I think internally they use concept of Memoization.
      Method will be processed every time its called.

    • @anwarhamoude2637
      @anwarhamoude2637 6 років тому +1

      method is a function {{ method() }} which does a call for each request
      computed caches the data no () required {{ computed }}

    • @BudaSuyasa
      @BudaSuyasa 6 років тому +1

      When you working with large set of data, computed better for caching

  • @X1Zeth2X
    @X1Zeth2X 6 років тому

    Awesome tutorial! Learned alot from this channel.