Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 1.16 KB

README.md

File metadata and controls

17 lines (15 loc) · 1.16 KB

Basic Vue 3 demo about writing components like this:

<MyDropdown v-model="myDropdownValue">
  <MyDropdownOption value="hi"/>
  <MyDropdownOption value="hey"/>
  <MyDropdownOption value="hello"/>
</MyDropdown>

In this repository, there are examples for:

This technique is called compound components - see Kent Dodds's original React article

More Vue examples of compound components