Vue JS 2 Tutorial #3 - Data & Methods

preview_player
Показать описание
Hey gang, in this Vue js tutorial I'll show you how we can create data and methods on the Vue instance and use them in our template.

----- COURSE LINKS:

---------------------------------------------------------------------------------------------

========== PSD to WordPress Playlist ==========

============== The Net Ninja =====================

================== Social Links ==================

Рекомендации по теме
Комментарии
Автор

This is absolute gold. Thank you sir you have literally enlightened me on this day about JS. I am literally jumping in insane levels of understanding of programming. Jesus I needed you sir...

kresimircosic
Автор

these videos are by far the best ones that I have seen about Vuejs, thanks so

micaelame
Автор

This is the Best Vue course that i found!
🔻

vpr.void.
Автор

These tutorials are amazing. I'm really new to Vue and coding in general, and this has been the most helpful resource I've found.

rypiv
Автор

I really like your teaching style, Shaun.
Keep it up!

kwabenaberko
Автор

This series is amazing! Vue.js is so much easier to learn than React.

craigjohnson
Автор

Hi! I guess if we want to write ES6 arrow function syntax in Vue method, this.data will no longer function, as "this" now refers to "Window", not "Vue" object any more.
So in this case, I choose to separate data outside, as:

const myData = {
x: 1,
y: 2,
...
};
...
new Vue({
data: myData,
methods: {
methodA: () => {
return mydata.x; // <-- works
}
}
});

chenxuanwang
Автор

Look up the video at 4:30, you can try using javascript template literal as return `Good ${time} ${this.name}` instead of using + for concatenating the string every time. It's a more clean approach. Hop it helps.

levelup-code
Автор

Thanks mate! your pronunciation is impressive! I understood everything you said even I'm foreigner.

daklina
Автор

Absolutely superb! Thanks for making the videos

codecobber
Автор

Crystal clear explanations, thanks a lot for all the courses you put out.

sergi
Автор

Incredibly helpful. Subbed right away. Thanks.

Hadoitz
Автор

This is amazing! Thank you for your videos.

RaymundoGabriel
Автор

Thanks man for quick tip, appreciated :)

MrDeveloper
Автор

Hi, nice tutorial!
What font are you using in Atom? It looks very nice and clean.

Автор

Wouldn't it be good to have the body element as a Vue instance?

samlovescoding
Автор

I love your accent., it's like being taught by Stuart Maconie :-)

juliannicholls
Автор

'this' inside greet method is should be methods object?

АлексаМиловановић
Автор

sir how can i commit in vue cli what does this means WARN There are uncommited changes in the current repository, it's recommended to commit or stash them first. Thankyou

nadeemkhan-iotu
Автор

I really liked the ninja audio after the net ninja intro animation. Why did you remove it :(

abhishekkhandait