Make your own VUE DIRECTIVES in your app

Поділитися
Вставка
  • Опубліковано 12 лис 2024

КОМЕНТАРІ • 22

  • @LesCarbonaro
    @LesCarbonaro 3 роки тому +8

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

    • @LearnVue
      @LearnVue  3 роки тому +1

      thank you! that means a lot

  • @xacbolay
    @xacbolay 3 роки тому +1

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

  • @juhavehnia7862
    @juhavehnia7862 2 роки тому +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.

  • @jorgesone7383
    @jorgesone7383 2 роки тому

    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  2 роки тому +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 2 роки тому

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

    • @LearnVue
      @LearnVue  2 роки тому

      glad it works :)

  • @tylerdrabek1592
    @tylerdrabek1592 2 роки тому

    Great video, simple and to the point

  • @trananswers
    @trananswers 2 роки тому +1

    Great video, and top notch Vue channel

    • @LearnVue
      @LearnVue  2 роки тому

      Thanks for watching!!

  • @murilolivorato1489
    @murilolivorato1489 3 роки тому

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

  • @gauravpal2854
    @gauravpal2854 Рік тому

    Would love to learn vuex from you sir.

  • @okanyldrmop
    @okanyldrmop 2 роки тому

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

  • @hiroyukinumaguchi1984
    @hiroyukinumaguchi1984 2 роки тому

    Great contents! Thank you!

  • @yankee-in-london
    @yankee-in-london 2 роки тому

    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.

    • @antifa_communist
      @antifa_communist Рік тому +1

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

  • @ravindrayr1232
    @ravindrayr1232 3 роки тому +1

    Keep up the good work buddy

    • @LearnVue
      @LearnVue  3 роки тому

      i will! thanks for watching :)

  • @augischadiegils.5109
    @augischadiegils.5109 2 роки тому

    ♥️♥️♥️

  • @yhlqmdlg9656
    @yhlqmdlg9656 3 роки тому

    i found a gold mine