import type { App } from 'vue' ; import MyComponent from './Component.vue' ; export default function install ( app ) { app . component ( 'MyComponent' , MyComponent ) ; } export { MyComponent , install } ;