Тёмный

Vue JS 3 Tutorial for Beginners #4 - The Vue CLI & Bigger Projects (part 1) 

Net Ninja
Подписаться 1,5 млн
Просмотров 288 тыс.
50% 1

In this Vue 3 tutorial we'll use the Vue CLI to boilerplate a larger Vue project for us, which will ultimately contain multiple components & pages. We'll talk about vue files, templates & template refs too.
--- Timestamps ---
0:00 - Why use the Vue CLI?
2:51 - Using the Vue CLI
8:07 - New project walkthrough
16:01 - Vue files & templates
25:26 - Template refs
29:33 - Multiple components
🐱‍💻 🐱‍💻 BUY THE FULL 20-hr COURSE ON UDEMY:
www.thenetninja.co.uk/udemy/v...
🐱‍💻 🐱‍💻 Course Files:
+ github.com/iamshaunjp/Vue-3-F...
🐱‍👤🐱‍👤 JOIN THE GANG -
/ @netninja
🐱‍💻 🐱‍💻 My Udemy Courses:
+ Modern JavaScript - www.thenetninja.co.uk/udemy/m...
+ Vue JS & Firebase - www.thenetninja.co.uk/udemy/v...
+ D3.js & Firebase - www.thenetninja.co.uk/udemy/d...
🐱‍💻 🐱‍💻 Helpful Links:
+ HTML & CSS Course - • HTML & CSS Crash Cours...
+ Get VS Code - code.visualstudio.com/
🐱‍💻 🐱‍💻 Social Links:
Facebook - / thenetninjauk
Twitter - / thenetninjauk
Instagram - / thenetninja

Опубликовано:

 

11 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 175   
@mattgic42
@mattgic42 3 года назад
I once said it before that I could not wrap my head around React until I watched your videos on it the one day earlier this year, and the same holds true with Vue. You, sir, are a Godsend. You are very much appreciated by me. The way you thoroughly and uniquely demonstrate and explain things is excellent and unmatched. Without the videos from you and Traversy Media, the world would not be the same.
@NetNinja
@NetNinja 3 года назад
Hey Matthew thanks so much :)
@mattgic42
@mattgic42 3 года назад
@@NetNinja No problem. Thank you!
@shivansh709
@shivansh709 2 года назад
Yessss
@watevakid
@watevakid Год назад
100000% agree with this!
@pewolo
@pewolo 3 года назад
Finally landed on a real Vue Js Tutorial. Thank You Sir ,for the great work
@afroshaggy657
@afroshaggy657 5 месяцев назад
The music during the install was a nice touch
@chibuezevince
@chibuezevince Год назад
I have been saving similar wonderful videos like this one. I just checked to find out that more than half of it are from this channel. I am addicted. ❤️
@NetNinja
@NetNinja Год назад
Great to hear! thanks Vincent :)
@akinoreiki
@akinoreiki 2 года назад
Thanks for making this easy to understand. I worked an angular project previously, and it's definitely similar, but this tutorial is much easier to follow than the others I've read in the past. I will definitely be sticking to Vue thanks to you!
@chizuru1999
@chizuru1999 Год назад
I like to call Vue as "Modern AngularJS" 😸
@ManBrunchCrew
@ManBrunchCrew Год назад
Having to quickly learn Vue for an upcoming project at work, and this series has helped a ton. Thanks for all the hard work. It is appreciated!
@codypellom1256
@codypellom1256 Год назад
Same ... lol
@daramolaboluwatife722
@daramolaboluwatife722 19 дней назад
Same here :)
@vincenthao6736
@vincenthao6736 2 года назад
Thank you so much for creating this series. Really appreciate how you dumbed down everything and assumed little prior knowledge (that's me!)
@ricko13
@ricko13 3 года назад
It's 3am here, but so good so far, thank you!
@morrgash
@morrgash 2 года назад
What an amazing tutorial, thank you for taking the time to create it!
@ThomasHezel1
@ThomasHezel1 7 месяцев назад
Very high pedagogical quality! Pace, details, side information 10 points out of 10!
@NetNinja
@NetNinja 7 месяцев назад
Thanks Thomas!
@mareanorton3448
@mareanorton3448 2 года назад
Still loving your tutorial. Every thing actually works, unlike some other tutorials.
@learnsimple4592
@learnsimple4592 3 года назад
Thanks Shaun, bought this course one day after release. Also learnt modern JavaScript from your udemy course. You make great content and I enjoy watching it. Maybe Vuex 4 with Vue 3 next ?
@crimsonhawk467
@crimsonhawk467 2 года назад
Absolutely amazing tutorial! I am coming from angular. This is the best tutorial on vue!
@christersin7934
@christersin7934 3 года назад
Thank you sir, and this is my another small side project to done.
@RR-et6zp
@RR-et6zp Год назад
It really started clicked with the multiple components and it's confident to hear when you say you'll talk about it in later videos, BUT it would be cool to say the project plan at the start of the first video so viewers get to see when they're gonna learn what and how it's connected, because your content and teaching style are brilliant
@lukasluftlaufer1093
@lukasluftlaufer1093 3 года назад
Already learned so much from you in these previous videos! Thank you so much!!!
@raedeguzman9664
@raedeguzman9664 2 года назад
Watched some few vue tutorial, even in vue mastery. So far this is the best step by step tutorial for me. Thank you so much.
@marsdwarf
@marsdwarf 9 месяцев назад
Totally agree! This course is much more beginner friendly and easier to follow than Vue Mastery.
@SLADEDAMONSTA_
@SLADEDAMONSTA_ 2 года назад
These have been the best tutorials! You’re a saint and a scholar
@joelw3769
@joelw3769 3 года назад
Master Shaun. after watch a few of your tutorials in your channel. just take my money. I am buying all your tutorials from udemy. that's it buddy. the best master in the ninja clan.
@NetNinja
@NetNinja 3 года назад
Thank you! :)
@antoniofuller2331
@antoniofuller2331 2 года назад
Shaun Senju
@mohammadghandour4756
@mohammadghandour4756 2 года назад
Nah bro !!! If this is your free course, that is already more useful than I actually expected, I wonder how would your paid courses be !! I've never seen a youtuber explains every little detail for his viewers, you literally talk like you're one of us (Beginners and new to the topic), which makes us really understand every little thing we wanna know. A 'thank you' isn't really enough ! Keep up the amazing work man !! Appreciated
@LinuxForLife
@LinuxForLife 3 года назад
Best explanations about Vue. Thanks.
@codypellom1256
@codypellom1256 Год назад
This video series is absolutely LIT! You really break down each concept and I really feel like I am learning more and more as the series continues. I will definitely consider buying your Udemy course. I am thoroughly impressed with your attention to detail and really understanding how to explain these things. I have worked with OOP JS Frameworks in the past but I could never really understand react other than building basic SPAs. With these videos I am starting to feel like I understand the basics of this framework and can see the appeal. I must say, I really prefer Vue over Angular or React. Vue is way easier to understand IMO and Im loving it so far.
@NetNinja
@NetNinja Год назад
Thank you Cody :)
@AsenovMiroslav
@AsenovMiroslav 3 года назад
Thanks Shaun! Super clear explanation!
@liliabekuzinaensosense8987
@liliabekuzinaensosense8987 8 месяцев назад
Omg! Best teacher ever! Will deffinately buy your courses in Udemy!
@faigbagirov8118
@faigbagirov8118 2 года назад
Yes, It's a best vue tutorial I have ever seen!
@deejayerick
@deejayerick 3 года назад
Muchas gracias, one more for my personal collection!...
@romeshjayawardene3551
@romeshjayawardene3551 2 года назад
thank you so much for this great series, provided to us Free of charge :)
@alexandrk.4321
@alexandrk.4321 10 месяцев назад
That "boo" makes me smile) Thank you for tutorial ! As a backend dev with no js experience I feel so comfortable
@NetNinja
@NetNinja 10 месяцев назад
Happy to hear that! :) thank you
@shaikhahmaasher979
@shaikhahmaasher979 3 года назад
Thanks a lot Shawn and another series of Vuejs with TS will be appreciated
@edgarasspiridonovas4978
@edgarasspiridonovas4978 3 года назад
We need that !
@maxosall6972
@maxosall6972 3 года назад
Thank you so much, this is exciting
@anhh2130
@anhh2130 3 года назад
Love your detailed explanation. I Will get your full course on Udemy.
@sanjoykumardhar9491
@sanjoykumardhar9491 3 года назад
Waiting for the next tutorial 😍
@ayabo1192
@ayabo1192 5 месяцев назад
Very very well explained!! Thank you so much for this series!
@NetNinja
@NetNinja 5 месяцев назад
Glad it was helpful! :) thanks for watching
@user-th7vx2gk3x
@user-th7vx2gk3x 2 года назад
Excellent learning skills thanks!
@push2me936
@push2me936 Год назад
Thanks a lot Shaun! Let's give it a wow! This is teaching on Champions League level!
@tubester358
@tubester358 Год назад
I think it's useful to mention that naming conventions aren't just a matter of "You do you" but that we should get familiar with conventions if we at all plan to share the code with others or plan to work in a dev team since the point of convention is to make it more readable for devs in general. Like, instead of suggesting it doesn't matter whether one names a component with a capital letter, it's more useful to say that naming it with a capital letter more clearly differentiates it from regular tags & files and identifies it as a Vue component whenever a dev familiar with vue or some other third-party library looks at the src files. Other than that, I'm liking the straight-to-the-point course so far (coming from some familiarity with React)
@fredpourlesintimes
@fredpourlesintimes 2 года назад
Interesting templating system. I just hope that it won't be too heavy, at the end, and really valuable to create a strong, reliable, website structure.
@hongernest9519
@hongernest9519 3 года назад
just get vue3 course in udemy and ready to become a ninja, waiting for VueX tutorial
@ahmedyoussef7968
@ahmedyoussef7968 Год назад
very helpufull and very clear thank you man 💗
@NetNinja
@NetNinja Год назад
Thanks Ahmed!
@zealtypedcode3119
@zealtypedcode3119 3 года назад
So excited thank you I would be grateful if you also do after this course vue native or ionic vue
@parthipankalayini8
@parthipankalayini8 3 года назад
Can anyone help me , when I typed vue create it is throwing error -: cb.apply is not a function and it is warned me I am using outdated npm version but I have npm 7.6.1(latest when I am typing this comment) please help me ¡¡¡
@chadvise3308
@chadvise3308 11 месяцев назад
you learn this so smooth that i think its ez like learning html thank you so much
@NetNinja
@NetNinja 11 месяцев назад
You're very welcome! :)
@k3vinshum
@k3vinshum 2 года назад
Great teacher. The way u deliver it is A*
@mohammedbasith2898
@mohammedbasith2898 3 года назад
You're the best bro 🔥🔥🔥🔥
@eddykei6330
@eddykei6330 3 года назад
Hey, first thank you for this amazing tutorial. I got a question about the project architecture. Is VUEJS based on MVVM? Ive just done MVC and MVP in my life and im a bit concerned about MVVM. Do i need to learn how the whole MVVM architecture works or ill be just fine if I finish the tutorial?
@JohanNing-lf5so
@JohanNing-lf5so 3 года назад
Thank you very much.
@guilhemlinde
@guilhemlinde Год назад
Top quality content. Thanks a lot.
@NetNinja
@NetNinja Год назад
No problem! :)
@jimos9878
@jimos9878 7 месяцев назад
you should teach in a high school, college or whatever if you don't already do my friend. your explanation, examples and the understanding you provide of the functionalities are on point!!!
@NetNinja
@NetNinja 7 месяцев назад
Thanks, that means a lot :)
@EnizeCA
@EnizeCA Год назад
bro i just watched more than 1 hours of this series and haven't even noticed
@Raju917707
@Raju917707 Год назад
Expecting more videos from you
@aliomer9049
@aliomer9049 3 года назад
Thank you 😊😊
@borjovsky3164
@borjovsky3164 Год назад
RU-vid should have an automatic like button...
@kyteinsky
@kyteinsky 3 года назад
I had one question: In some Vue tutorial (I don't remember) I saw using "v-show" is more efficient that using "v-if" because v-show uses css display property. I used this on modals but in the teleport tag this did not work, both the modals showed even with the showModal === false. Can you help me out here why v-show doesn't work as it should in teleport tag?
@ithelp5893
@ithelp5893 3 года назад
Thank u mate
@PrabinParajuli
@PrabinParajuli 3 года назад
Thank you very much for the tutorial. :) Definitely gonna purchase the full course after I complete this from RU-vid..
@NetNinja
@NetNinja 3 года назад
Thanks so much, hope you enjoy it! :)
@nooitniets.9236
@nooitniets.9236 Год назад
this man is an absolute chad
@gaatutube
@gaatutube 3 года назад
Nice !
@thenoja176
@thenoja176 3 года назад
we need a nuxt js tutorial shaun
@swoorp
@swoorp 2 года назад
Which music did you use when the vue cli was installing? I like it!
@majdibrahem1399
@majdibrahem1399 Год назад
you are rock bro
@yadude101
@yadude101 2 года назад
@26:00 i heard that in reactjs it is better to use useRef instead of queryselector
@phillipdavis6021
@phillipdavis6021 2 года назад
Hi all, I've been working on a Vue project with this tutorial as a reference and was having a ton of fun, thinking "Maybe I like frontend a lot more than I thought I did," when suddenly Vue stopped responding to changes in my code. Having done nothing different from the tutorial in terms of setup, I've tried quitting processes, rerunning "npm run serve", even rebooting my computer repeatedly, and absolutely nothing the Vue page to register a change in my code (I'm getting an error about a variable that no longer exists in my source)" If anyone offers a working solution I'd really appreciate it.
@vincej151
@vincej151 2 года назад
Hi Sean, I just bought your Udemy course. I was hoping to find some content on Vue3 multiple instances. I want to be able to have multiple Laravel ( PHP) pages each with their own Vue component. In Vue 2 it was easy to extend a single Vue instance onto multiple pages. I am lost as how to do it on Vue 3. Any content in Udemy course? Thanks!
@michaels.7562
@michaels.7562 6 месяцев назад
Great tutorial when following just the video. Unfortunately the older lesson branches seem to have be been removed from the GitHub repo or are stale.
@daliusbeckjr.3918
@daliusbeckjr.3918 11 месяцев назад
will there be an updated version of this tutorial to the latest vue.js? just curious to know since you are an awesome at explaining vue
@Taumee412
@Taumee412 8 месяцев назад
I would love that too! An updated version of this course with vue + vite would be cool! No one explains as good as this guy! :)
@sir1usbl4ck333
@sir1usbl4ck333 8 месяцев назад
Please
@tochukwusamuel1424
@tochukwusamuel1424 3 года назад
Please how do I add meta tag like title, description in this current vue 3
@noushedakib1658
@noushedakib1658 2 года назад
Awesome
@wcdeich4
@wcdeich4 10 месяцев назад
Why does Vue produce dist/js/152.js and dist/js/187.js files? Even when I turn off chunk splitting, I can't stop it from producing 2 extra files, dist/js/152.js and dist/js/187.js.
@slammerton
@slammerton 2 года назад
You are awesome
@manarsayed9937
@manarsayed9937 3 года назад
what is the name of the music opened when we install vue/cli? :D
@mohammadalhallaq1938
@mohammadalhallaq1938 3 года назад
thanks
@shoyusufsiddiqov3329
@shoyusufsiddiqov3329 3 года назад
like before watching
@user-ss2jr8ss8l
@user-ss2jr8ss8l Год назад
Better than any university
@SinhNguyen-tz6us
@SinhNguyen-tz6us 3 года назад
🔥🔥🔥
@ch4dix
@ch4dix 3 года назад
I have to wonder why these topics aren't discussed in detail in the vue-cli docs. It just vague gives you a brief overview of the folders and files at the end of the docs. Did I miss something?
@wattvisuddhimagga9226
@wattvisuddhimagga9226 3 года назад
if i want to give value to components how i can give it?
@abrotherinchrist
@abrotherinchrist 10 месяцев назад
Why use Powershell instead of the terminal in VScode?
@technics6215
@technics6215 4 месяца назад
I don't understand why there is CSS code everywhere in initial Vue project. Two css files in assets, some CSS in App.vue, another CSS in AboutView... Is this normal in Vue development?
@fido6779
@fido6779 7 месяцев назад
what do you use keyboard?)
@zakidzz
@zakidzz 3 года назад
please do a course on strapi
@ph4746
@ph4746 2 года назад
I'm Japanese!🇯🇵 Thank you for creating this video😁 i have a question.Why can I use Vue-CLI even though i haven’t installed vue?Does Vue-CLI contains Vue?
@programmerhp7736
@programmerhp7736 9 месяцев назад
why when i create vue project with cli its taking so much time to finish?
@WorstDeveloper
@WorstDeveloper 3 года назад
The future videos will use the new composition API, right? Not the old data API shown here.
@brothercaleb
@brothercaleb 3 года назад
He’ll show it in the upcoming videos. This video is necessary for those new to vue so they can appreciate the benefits of composition api (check intro to this series).
@helgurdazizmirza7875
@helgurdazizmirza7875 Год назад
There is no demonstration of how the files in the project will communicate to each other?
@johnramirez3247
@johnramirez3247 Год назад
Do i have to always install the NPM everytime i do new projects?
@zenal3x49
@zenal3x49 Год назад
No, once you install NPM once, you can use it anytime you want.
@Zeeeeeek
@Zeeeeeek 3 года назад
32:07 funny that your graph looks like a stickman :D
@jumbo999614
@jumbo999614 3 года назад
21:04 Anyone got error "missing space before function parenthesis? I have to write "data ()". If I write "data()", it throws the error. The similar problem happens if I have extra white spaces. Why Vue so strict?
@learnsimple4592
@learnsimple4592 3 года назад
It doesn’t show that for me, but I usually leave a space. It might be the linter. I don’t really know. But make sure you didn’t install (enable) the linter/formatter
@jumbo999614
@jumbo999614 3 года назад
@@learnsimple4592 Thank you for your help. I searched internet and found out that it was ESlint that caused the problem.
@learnsimple4592
@learnsimple4592 3 года назад
@@jumbo999614 you’re welcome
@1rom11
@1rom11 2 года назад
Is Vite vue and the Vue cli the same?
@marcusmousavi
@marcusmousavi Год назад
Now I have a whole new Vue on things. Get it? Thanks :)
@asibe_cheta
@asibe_cheta 2 месяца назад
Hi, great so far, however, I got stuck at 24:50 on installing the project dependencies. Please, is there a guide on how to do this? I am totally lost, thanks.
@sfybskot
@sfybskot Месяц назад
npm install
@asibe_cheta
@asibe_cheta Месяц назад
@@sfybskot thanks a lot I had to use chat gpt, I’m now almost done with the course. I appreciate
@aman5175
@aman5175 3 года назад
what font are you using in your editor?
@NetNinja
@NetNinja 3 года назад
He, it's Consolas :)
@nielfollero8061
@nielfollero8061 3 года назад
I'm getting an error inside App.vue inside template tag from Modal tag. It says "The template root requires exactly one element.eslint-plugin-vue" but still works fine, the red underline just bothers me.
@raz0229
@raz0229 3 года назад
LOL! Same. Took me 10 minutes to realize it can just be ignored
@nielfollero8061
@nielfollero8061 3 года назад
@@raz0229 fixed it by updating the visual studio. lol
@jeffschaefer4827
@jeffschaefer4827 3 года назад
@@nielfollero8061 I'm running into the same issue. What did you update in Visual Studio specifically to fix it? I'm using VSCode.
@nielfollero8061
@nielfollero8061 3 года назад
@@jeffschaefer4827 I updated the vscode itself or you can just download it again from their website and reinstall it.
@dfcw
@dfcw 2 года назад
I have this issue with latest version of vsCode.
@shedytaieb1083
@shedytaieb1083 Год назад
well bro, I ve been always a backend developer, I could never grasp the frontend logic, I ve worked with databases, devops pipeline, messaging services, kubernetes and anything but the frontend technologies, and for once, I started to get it, I am not sure if it's vue that's is just light weight and simple or your pedagogy but thank you very much
@NetNinja
@NetNinja Год назад
Awesome to hear that Shedy :)
@sheriffcrandy
@sheriffcrandy 2 года назад
19:39 when I save I get an error on the localHost page that says: The "HelloWorld" component has been registered but not used. pls help :(
@sheriffcrandy
@sheriffcrandy 2 года назад
I just fixed the problem, on line 10 in the App.vue file, change components to component
@nielfollero8061
@nielfollero8061 3 года назад
I got an error when installing the vue cli when i type [ npm install -g @vue/cli ]. I used [ npm install -g "@vue/cli"] instead.
@khalidmesbah3534
@khalidmesbah3534 3 года назад
Does that work for you?
@nielfollero8061
@nielfollero8061 3 года назад
@@khalidmesbah3534 yup it did
@ambig1
@ambig1 Год назад
Please consider providing git branch names with each video/section.
@RR-et6zp
@RR-et6zp Год назад
"over hereee" haha
@highland5729
@highland5729 3 года назад
Why you don't cover Angular?
@adriatic123
@adriatic123 2 года назад
I always laugh when somebody says you can learn Vue in a week. It shows how modest is their knowledge. For using full features of the Vue environment one has to know javascript excellently, and that alone is a comprehensive task to accomplish. Then and only then one should go to learn Vue. After 5 years I am still learning new things in this excellent framework called Vue js. With version 3 I humbly think it is the most powerful front-end framework there is, for any task.
@cagn154
@cagn154 Год назад
When I followed the course, I found that I lacked the basic knowledge of js. While learning new knowledge, I also had to go back and supplement the basic knowledge.
@sameerchoubey9724
@sameerchoubey9724 3 года назад
My changes are not auto reloading. I've to close the server and open again to see the changes in the browser.
@nielfollero8061
@nielfollero8061 3 года назад
did you use npm run serve?
@sameerchoubey9724
@sameerchoubey9724 3 года назад
@@nielfollero8061 Yep. Using that only
@00el04
@00el04 3 года назад
just reboot VS, it happen sometimes
Далее
P2P Cycle  in SAP -Complete
23:11
Просмотров 9
Рассказ про Шастуна хотите!?
00:44
Философия хлама #diy
01:00
Просмотров 417 тыс.
JavaScript Framework Tier List
40:57
Просмотров 292 тыс.
Why Signals Are Better Than React Hooks
16:30
Просмотров 452 тыс.
Vue 3 & Composition API - Full Project
1:09:15
Просмотров 116 тыс.
You might not need useEffect() ...
21:45
Просмотров 149 тыс.
Vue JS 3 Tutorial for Beginners #8 - The Vue Router
47:48
Vue JS 3 Tutorial for Beginners #7 - Forms & Inputs
45:41
Vue JS Crash Course
1:50:52
Просмотров 1,3 млн