Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.
/ vue2-components Public archive

Vue components

Notifications You must be signed in to change notification settings

cba85/vue2-components

Repository files navigation

Vue components

For demonstration purpose only

  1. Basic components (data)
  2. Global registration
  3. Local registration
  4. Props (warning: camel case and kebab case) : display a blog (posts, post and user components)
  5. Dynamic props
  6. Prop types
  7. Default props
  8. Example using props: Counter using props and default props
  9. Emit (pass data to child components) : Counter example
  10. Dropdown examples (first using data, second using ref, third using ref and input/v-model)
  11. Event bus (global events)
  12. Chat application (first basic, second refactored)