If I wanted to create a UI Package, is there a way to consolidate multiple components into one JS file?
Usually, each component would be stored in different files like this:
import ButtonText from '../ButtonText.vue'
import ButtonIcon from '../ButtonIcon .vue'
import ButtonLayout from '../ButtonLayout.vue'
However, I am interested in combining all my Button components into a single file for better reusability. This way, I can easily import them as needed:
import {ButtonText, ButtonIcon, ButtonLayout } from '../ButtonPackage.vue'
What would the structure of my ButtonPackage.vue/.js File look like?