mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2025-01-01 03:02:52 +09:00
11 lines
217 B
TypeScript
11 lines
217 B
TypeScript
|
import Notification from '../views/components/ui-notification.vue';
|
||
|
|
||
|
export default function(message) {
|
||
|
const vm = new Notification({
|
||
|
propsData: {
|
||
|
message
|
||
|
}
|
||
|
}).$mount();
|
||
|
document.body.appendChild(vm.$el);
|
||
|
}
|