Upgrade to Pro — share decks privately, control downloads, hide ads and more …

How To Build and Publish an Open Source Vue.js Plugin

Fred
August 08, 2023

How To Build and Publish an Open Source Vue.js Plugin

In this talk, we will go through the step-by-step journey of creating a reusable Vue.js plugin. You'll learn how to leverage Vue.js's architecture and design patterns to create a seamless integration with any Vue application.

Finally, we'll demystify the publishing process. You'll discover how to package your Vue.js plugin using popular package managers like npm and make it available to the Open Source community to use and contribute.

Fred

August 08, 2023
Tweet

More Decks by Fred

Other Decks in Programming

Transcript

  1. G E T T I N G S T A

    R T E D Creating a new Vue Application
  2. G E T T I N G S T A

    R T E D Creating a new Vue Application Create SimpleDarkMode component
  3. G E T T I N G S T A

    R T E D Creating a new Vue Application Create SimpleDarkMode component Expose component to Vue
  4. G E T T I N G S T A

    R T E D Creating a new Vue Application Create SimpleDarkMode component Expose component to Vue Add configuration for library
  5. G E T T I N G S T A

    R T E D Creating a new Vue Application Create SimpleDarkMode component Expose component to Vue Add configuration for library Library mode configuration
  6. P U B L I S H L I B

    R A R Y npm login npm publish --access=public
  7. P U B L I S H L I B

    R A R Y View library on npm registry Install in Vue.js application