# Vue 2

vuejavascriptfrontendframework
  • Template section in components needs one top level root element, in contrast to vue3 which can have multiple root elements.
  • Use props and named v-slots with components
  • Vue Components | Vue Plugins | Vue Mixins
    • component is individual unit in itself
    • Mixin add functionality to an existing component
      • could be global
    • Plugins - distribute components
      • Plugins usually add global-level functionality to Vue

# How Properly packaging your SFC for distribution via npm?

  • or
  • Buy me a coffeeBuy me a coffee