chore: export and install notify component and toast component

This commit is contained in:
Sagi 2022-09-30 15:08:34 +08:00
parent 1a831cf5aa
commit f1467f8470
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
import type { App } from 'vue';
import Notify from './src/notify.component';
import Toast from './src/components/toast.component';
export * from './src/notify.props';
export * from './src/components/toast.props';
export { Notify, Toast };
export default {
install(app: App): void {
app.component(Notify.name, Notify);
app.component(Toast.name, Toast);
}
};