🚨 IMPORTANT: I have the ultimate Vue course! If you're interested in it click here and get a free Vue cheat sheet! www.vuecourse.tech/
@Kempriol4 жыл бұрын
Vue LP based on react@16 ahaha
@JulienReszka5 жыл бұрын
Please create the video tutorial to add typescript to an existing vue.js project
@saraivasquezmarinez9493 жыл бұрын
You just type "vue add typescript" inside of the vue project; there are different configs but are still VERY similar to the ones in this video
@yackawaytube5 жыл бұрын
Awesome. Just started my journey of Vue today. Thanks.
@ProgramWithErik4 жыл бұрын
Good luck!
@IanGem11213 жыл бұрын
At 9:31 what is the difference between msg and erik? What does @Prop do?
@gideonking36675 жыл бұрын
The typing should be "string" the primitive type rather than "String" which is an object (i.e. an object with String.prototype in its prototype chain). In virtually all cases it will not cause a problem with compiling, but "string' is technically correct.
@ProgramWithErik4 жыл бұрын
Good catch!
@kalyszhek52963 жыл бұрын
Hello! As a professional, purely your opinion, what do you think is right, a class component or a functional component? and I'm use: import { defineComponent } from 'vue'; import HelloI18nVue from './HelloI18n.vue'; export default defineComponent({ components: { HelloI18nVue }, setup() { } }) do you think this is right? P.s. I'm a beginner Vue3+TS DeV.
@collinslagat34585 жыл бұрын
Vetur intellisense plugin doesn't play well with the template portion in Class Based Components. It doesn't autocomplete or give suggestions on properties defined in the component. But other than that, the class based component is pretty good.
@Xenon77x4 жыл бұрын
I think this make it similar to angular which is goooooood, OOP
@johnm83585 жыл бұрын
Happy new year erik
@ProgramWithErik5 жыл бұрын
Thanks!
@alanhunt37724 жыл бұрын
Coming from React I can see the benefits of Vue, but it seems Vue as a whole involves a lot less actual JS than React, thus almost downplaying the need for TS. Vue gets the award for simplicity with binding but I personally think React is a bit more readable and I still enjoy declaring variables rather then appending to a data() object. That's just my two cents from watching this video.
@ProgramWithErik4 жыл бұрын
That's a good point. But with Vue 3, it's a good combination
@rakeshmallem44184 жыл бұрын
Hi Eric, could you tell me to set up an existing vuejs project and run it. Thanks in advance!
@heyyy49875 жыл бұрын
Happy new year erik. .I hope more complete series using vue and typescript and vuex. Some nice too is vue-nativescrit series. thanks
@Herclia4 жыл бұрын
Hello can you say what is you theme in editor ? Look very nice !!!
@hasiburrahman93923 жыл бұрын
Hey Erik, I love your video
@huckfaters4 жыл бұрын
Hey Erik! Are you using vscode's vim plugin?
@scr49323 жыл бұрын
Apparently they've addressed the issue with the non-class method being unable to determine the type of "this". I've just tried it myself and it worked - setting this.test to a number results in a compilation error both in the IDE and when building. I'd still go with the class-based format, though.
@PureAlbania5 жыл бұрын
Wasn't the Vue Class Component dropped in favor of Composition API?
@kalebercanbrack88575 жыл бұрын
The current RFC for the Composition API doesn't mention dropping any support for the Class API, but it seems that the two butt heads with each other.
@ProgramWithErik5 жыл бұрын
Yes, but you can still use the Vue class component API, just as a seperate library. They were thinking of making it the default, but the composition API won out.
@DelPieroJoga104 жыл бұрын
@@ProgramWithErik can I use composition API on vue 2?
@goodbrainwork3 жыл бұрын
anyone know what the name of this color theme is?
@alexcubed42704 жыл бұрын
Thank you this was very helpful :D
@ck.hannel4 жыл бұрын
If it can't catch the type when using "this", I think it's done.
@Spinnerpor4 жыл бұрын
fact
@viraj_singh3 жыл бұрын
@@Spinnerpor also ts support inside template is very less.
@другМаша3 жыл бұрын
thank you so much
@MasharipovSaidbek2 жыл бұрын
Super, Amazing!
@Yakimych515 жыл бұрын
Great video! I've noticed you still get a runtime error when you make a typo at kzbin.info/www/bejne/eYKkgp5-qtqfirc (preventing which is one of the big selling points of TypeScript). Is there any way to avoid this? Also, do you know if TypeScript support is going to improve in Vue 3 (that is actually written in TypeScript itself)?
@ProgramWithErik4 жыл бұрын
I believe with Vue 3, and the composition API it will work a bit bettter.
@miklosnemeth85664 жыл бұрын
Excellent point Kyrylo, a modern programming environment should detect a type at 11:52. Since Vue doesn't support TypeScrip in the template part, I wouldn't call Vue ready for TypeScript at all.
@aleksandrippatev12684 жыл бұрын
Thanks!
@foniko1235 жыл бұрын
Can you share the css you used for Synthwave 84 ?? :)
@ProgramWithErik4 жыл бұрын
It's default
@mel-1825 жыл бұрын
does vuetify support vue ts?
@mel-1825 жыл бұрын
I just saw its supported. :D can you make a video implementing Vue TS to Vuetify or Quasar. :D
@ProgramWithErik4 жыл бұрын
Good idea! I'll add it to the list
@mel-1824 жыл бұрын
@@ProgramWithErik Great! Thanks! :D
@kevyyar5 жыл бұрын
What keyboard do you use? It sounds awesome
@ProgramWithErik4 жыл бұрын
Ha! It's very clicky. it's a corsair
@skewty4 жыл бұрын
clicky usually means cherry blue switches. You should look for keyboards with these switches if you like clicky keyboards. :)
@kevyyar4 жыл бұрын
@@ProgramWithErik very vague answer but ok. i apologize for asking lol
@Pretence4043 жыл бұрын
not getting "vue-property-decorator" in package.json,,, please help
@etymology_5 жыл бұрын
Can you do a video on how to use a js library/ npm package in a vue component
@ProgramWithErik5 жыл бұрын
What sort of library did you have in mind? There really isn't much to it, you just import it in the component and use it.
@etymology_5 жыл бұрын
@@ProgramWithErik I have been trying to use hover-effect, cant get it to work, it uses gsap & three.js, when you npm install it, they are included with the package, but hover-effect & pixie.js are more complex libraries than for example using moment....
@etymology_5 жыл бұрын
@@ProgramWithErik Can I pay you like 30 bucks to show me how to do this in vue...paypal or cashapp.?.I cant find anything on stack overflow.
@RianY2K5 жыл бұрын
Thanks for tutorial :) . And what vs code theme that you're using ?
@ProgramWithErik5 жыл бұрын
Thanks Synthwave 84!
@adamtak31285 жыл бұрын
@@ProgramWithErik Looks way cooler on youtube than it does in vscode =/ It's not as dark as I had hoped. I'm using one called Moxer that's pretty dope.
@tajeddinealaoui4455 жыл бұрын
Hi, can you please make a video about nuxt + nodemailer, i really need to make a contact form with nuxt.
@ProgramWithErik4 жыл бұрын
I'll add it to the list!
@existentialchild6985 жыл бұрын
what's the name of the theme you're using in Atom?
@ProgramWithErik4 жыл бұрын
VSCode Synthwave 84
@existentialchild6984 жыл бұрын
@@ProgramWithErik thanks!
@vinceramces5 жыл бұрын
Intellisense is good all in all. But vue with typescript configuration is one of a hell setup. Even using on Nuxt or Vuex configuration just to make the intellisense work
@ProgramWithErik5 жыл бұрын
On Nuxt it's harder for sure!
@bastilavarias78855 жыл бұрын
Yeah sure.
@petecapecod5 жыл бұрын
Thanks Erik great video!! Even React was all classed based up until version 16.8, so it's pretty familiar coming from there too 😎👏
@ProgramWithErik4 жыл бұрын
You are welcome!
@lostlost605 жыл бұрын
Thanks for tutorial :-)
@PhoenixRisingLoL4 жыл бұрын
Commenting for the algorithm :D
@Shinwe4 жыл бұрын
OMG for one second though that I was watching linus's tech channel.
@MattDuarte115 жыл бұрын
I use it with the class syntax. It’s better. I think the whole data and methods object is unnecessary code
@ProgramWithErik5 жыл бұрын
Nice!
@sahandsepidar40892 жыл бұрын
awesome
@aseemlalfakawma50844 жыл бұрын
Great video, but my OCD is killing me with the way you are declaring and assigning those class properties. lol
@GlitchClaw5 жыл бұрын
Just use angular
@GlitchClaw5 жыл бұрын
With webstorm
@mclotos4 жыл бұрын
Hell from TS (Freudian slip =) )
@anzefajfar30723 жыл бұрын
Steve Buscemi
@classicguy78134 жыл бұрын
Please next time start from sky not from decorators which is really really easy