Make your own VUE DIRECTIVES in your app

Sdílet
Vložit
  • čas přidán 7. 09. 2024

Komentáře • 22

  • @LesCarbonaro
    @LesCarbonaro Před 3 lety +8

    As always, so well and coherently presented. Thank you!

    • @LearnVue
      @LearnVue  Před 3 lety +1

      thank you! that means a lot

  • @xacbolay
    @xacbolay Před 2 lety +1

    Really good video, straight to the point and all the info is very useful! Subscribed!!

  • @juhavehnia7862
    @juhavehnia7862 Před 2 lety +1

    VIDEO IDEA: If you have a really large scale Vue + Vuex app. The idea would to show how to organize each feature into modules and name spaced stores.

  • @gauravpal2854
    @gauravpal2854 Před rokem

    Would love to learn vuex from you sir.

  • @trananswers
    @trananswers Před 2 lety +1

    Great video, and top notch Vue channel

  • @tylerdrabek1592
    @tylerdrabek1592 Před 2 lety

    Great video, simple and to the point

  • @ravindrayr1232
    @ravindrayr1232 Před 3 lety +1

    Keep up the good work buddy

    • @LearnVue
      @LearnVue  Před 3 lety

      i will! thanks for watching :)

  • @hiroyukinumaguchi1984
    @hiroyukinumaguchi1984 Před 2 lety

    Great contents! Thank you!

  • @okanyldrmop
    @okanyldrmop Před 2 lety

    Hello, this is amazing but do you know how can we add types to these directives?

  • @murilolivorato1489
    @murilolivorato1489 Před 2 lety

    very good . did you managed to do it in SSR mode ? I didn managed .

  • @butbutmybutt
    @butbutmybutt Před 2 lety

    direcitives like v-if are compile time directives.
    u cant create compile time directives, maybe only if u change the compiler or something like that.
    the documentation and this video is talking about runtime directives.

  • @jorgesone7383
    @jorgesone7383 Před rokem

    Thanks for amazing video.
    I have a question, I'm using Vue 3, and I created custom tooltip directive.
    Is there possible to use watcher to watch the value if is true hide if is false show ?
    Because it is not updating the boolean value.
    I'm using mounted and beforeUpdate hooks.

    • @LearnVue
      @LearnVue  Před rokem +1

      you should be able to! what value are are you watching? one thing that might be the issue is the reactivity of the value youre watching? maybe try a getter function. vuejs.org/api/reactivity-core.html#watch

    • @jorgesone7383
      @jorgesone7383 Před rokem

      @@LearnVue It works, the value which I was passing it wasn't reactive.
      I think I was blind haha, thank you.

    • @LearnVue
      @LearnVue  Před rokem

      glad it works :)

  • @yankee-in-london
    @yankee-in-london Před 2 lety

    Do you happen to know of any good examples of a directive which wraps the render function? Is this possible? I want to build a directive for tooltips and have the tooltip component wrap any component that uses the directive.

    • @svenyboyyt2304
      @svenyboyyt2304 Před rokem +1

      I would assume you would use it like you do normal attributes.

  • @augischadiegils.5109
    @augischadiegils.5109 Před 2 lety

    ♥️♥️♥️

  • @yhlqmdlg9656
    @yhlqmdlg9656 Před 3 lety

    i found a gold mine