Vue JS 3 Tutorial for Beginners #4 - The Vue CLI & Bigger Projects (part 1)
HTML-код
- Опубликовано: 13 июн 2024
- 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
Finally landed on a real Vue Js Tutorial.
Thank You Sir ,for the great work
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.
Hey Matthew thanks so much :)
@@NetNinja No problem. Thank you!
Yessss
100000% agree with this!
The music during the install was a nice touch
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. ❤️
Great to hear! thanks Vincent :)
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!
I like to call Vue as "Modern AngularJS" 😸
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!
Same ... lol
Same here :)
Thank you so much for creating this series. Really appreciate how you dumbed down everything and assumed little prior knowledge (that's me!)
It's 3am here, but so good so far, thank you!
What an amazing tutorial, thank you for taking the time to create it!
Very high pedagogical quality! Pace, details, side information 10 points out of 10!
Thanks Thomas!
Still loving your tutorial. Every thing actually works, unlike some other tutorials.
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 ?
Absolutely amazing tutorial! I am coming from angular. This is the best tutorial on vue!
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
Thank you sir, and this is my another small side project to done.
Already learned so much from you in these previous videos! Thank you so much!!!
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.
Totally agree! This course is much more beginner friendly and easier to follow than Vue Mastery.
These have been the best tutorials! You’re a saint and a scholar
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.
Thank you! :)
Shaun Senju
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
Best explanations about Vue. Thanks.
Thanks Shaun! Super clear explanation!
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.
Thank you Cody :)
Omg! Best teacher ever! Will deffinately buy your courses in Udemy!
Yes, It's a best vue tutorial I have ever seen!
Muchas gracias, one more for my personal collection!...
thank you so much for this great series, provided to us Free of charge :)
That "boo" makes me smile) Thank you for tutorial !
As a backend dev with no js experience I feel so comfortable
Happy to hear that! :) thank you
Thanks a lot Shawn and another series of Vuejs with TS will be appreciated
We need that !
Thank you so much, this is exciting
Love your detailed explanation. I Will get your full course on Udemy.
Waiting for the next tutorial 😍
Very very well explained!! Thank you so much for this series!
Glad it was helpful! :) thanks for watching
Excellent learning skills thanks!
Thanks a lot Shaun! Let's give it a wow! This is teaching on Champions League level!
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)
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.
just get vue3 course in udemy and ready to become a ninja, waiting for VueX tutorial
very helpufull and very clear
thank you man
💗
Thanks Ahmed!
So excited thank you I would be grateful if you also do after this course vue native or ionic vue
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 ¡¡¡
you learn this so smooth that i think its ez like learning html
thank you so much
You're very welcome! :)
Great teacher. The way u deliver it is A*
You're the best bro 🔥🔥🔥🔥
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?
Thank you very much.
Top quality content. Thanks a lot.
No problem! :)
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!!!
Thanks, that means a lot :)
bro i just watched more than 1 hours of this series and haven't even noticed
Expecting more videos from you
Thank you 😊😊
RUclips should have an automatic like button...
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?
Thank u mate
Thank you very much for the tutorial. :) Definitely gonna purchase the full course after I complete this from RUclips..
Thanks so much, hope you enjoy it! :)
this man is an absolute chad
Nice !
we need a nuxt js tutorial shaun
Which music did you use when the vue cli was installing? I like it!
you are rock bro
@26:00 i heard that in reactjs it is better to use useRef instead of queryselector
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.
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!
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.
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
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! :)
Please
Please how do I add meta tag like title, description in this current vue 3
Awesome
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.
You are awesome
what is the name of the music opened when we install vue/cli? :D
thanks
like before watching
Better than any university
🔥🔥🔥
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?
if i want to give value to components how i can give it?
Why use Powershell instead of the terminal in VScode?
what do you use keyboard?)
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?
please do a course on strapi
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?
why when i create vue project with cli its taking so much time to finish?
The future videos will use the new composition API, right?
Not the old data API shown here.
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).
There is no demonstration of how the files in the project will communicate to each other?
Do i have to always install the NPM everytime i do new projects?
No, once you install NPM once, you can use it anytime you want.
32:07 funny that your graph looks like a stickman :D
Is Vite vue and the Vue cli the same?
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?
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
@@learnsimple4592 Thank you for your help. I searched internet and found out that it was ESlint that caused the problem.
@@jumbo999614 you’re welcome
Now I have a whole new Vue on things. Get it? Thanks :)
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.
npm install
@@sfybskot thanks a lot I had to use chat gpt, I’m now almost done with the course. I appreciate
what font are you using in your editor?
He, it's Consolas :)
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.
LOL! Same. Took me 10 minutes to realize it can just be ignored
@@raz0229 fixed it by updating the visual studio. lol
@@nielfollero8061 I'm running into the same issue. What did you update in Visual Studio specifically to fix it? I'm using VSCode.
@@jeffschaefer4827 I updated the vscode itself or you can just download it again from their website and reinstall it.
I have this issue with latest version of vsCode.
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
Awesome to hear that Shedy :)
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 :(
I just fixed the problem, on line 10 in the App.vue file, change components to component
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.
Does that work for you?
@@khalidmesbah3534 yup it did
Please consider providing git branch names with each video/section.
"over hereee" haha
Why you don't cover Angular?
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.
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.
My changes are not auto reloading. I've to close the server and open again to see the changes in the browser.
did you use npm run serve?
@@nielfollero8061 Yep. Using that only
just reboot VS, it happen sometimes