chore: export and install notify component and toast component
This commit is contained in:
parent
1a831cf5aa
commit
f1467f8470
|
@ -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);
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue