How to build your own VUE PLUGINS

Sdílet
Vložit
  • čas přidán 27. 07. 2024
  • Plugins are a great way to add reusable functionality to your Vue apps. With tons of existing plugins for components, routing, and more, the ecosystem for Vue has solutions for many common use cases.
    Some examples of commonly used plugins are vue-router, vue custom-element, and vue-touch.
    However, there will come a time when there isn’t a plugin that perfectly matches your project or a time when you want to build your own plugins and share them with the world.
    In this video, we’ll learn how to build your very own Vue 3 plugin.
    COMPANION ARTICLE w/ CODE
    learnvue.co/2021/06/building-...
    VUE DIRECTIVES VIDEO
    learnvue.co/2020/01/creating-...
    FREE VUE 3 CHEATSHEET WITH ESSENTIAL CODE SNIPPETS
    learnvue.co/vue-3-essentials-...
    follow me on twitter:
    / mattmaribojoc
    🚨 Like quick Vue lessons like these? Check out 800+ lessons over on Vue School - go.learnvue.co/vueschool
    INTRO
    Daily (Prod. by Lukrembo)

Komentáře • 17

  • @hassanaoutof4148
    @hassanaoutof4148 Před rokem

    AMAZING!!!, i like how you have a lot of videos, your own version vue docs

  • @GulzarYousaf
    @GulzarYousaf Před rokem +1

    Simple and easy in just a few mins 👌👌

  • @Dipenparmar12
    @Dipenparmar12 Před 2 lety

    Amazing tutorial. Enjoyable.

  • @digitalartee
    @digitalartee Před 2 lety

    excellent! thanks for the video!

  • @Dipenparmar12
    @Dipenparmar12 Před 2 lety

    Another great tutorial 👍 thanks

  • @kirankothandan5529
    @kirankothandan5529 Před 10 měsíci

    Wonderful and simple explanation ❤

  • @abimaeltavares1620
    @abimaeltavares1620 Před 3 lety +3

    Very nice!!! Thx man!

  • @huizhong3713
    @huizhong3713 Před 2 lety

    good job

  • @bidyutmahanta85
    @bidyutmahanta85 Před 2 lety

    Amazing

  • @patricklenert
    @patricklenert Před 2 lety

    How can I use async/await in a plugin?

  • @grisitarocknroll
    @grisitarocknroll Před 2 lety

    does this impl change for nuxt? I'm trying to import multiple components to the plugin file so that they are accessible across the app but i keep getting that the component was not registered properly. it works for one, just the very first one, the rest are ignored for some reason?

  • @cindrmon
    @cindrmon Před 2 lety

    yesyes, this is a good tutorial, and is really helpful! however, i wanna ask if i can convert this vue plugin into a npm package..? can it be done?

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

      yes, see Erik's tut czcams.com/video/ui717bVHS4I/video.html

  • @cavidanbagiri7837
    @cavidanbagiri7837 Před rokem

    What a u doing? This is just perfect

  • @theseangle
    @theseangle Před rokem

    how to get intellisense / autocompletion with provide / inject syntax? Volar doesn't provide intellisense here (no pun intended)

  • @victormonteirocunha4575

    And then change the background color to fuck all fuck all fuck all
    Great video 😂😁