mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-13 14:43:09 +02:00
10 lines
217 B
TypeScript
10 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);
|
|
}
|