19 lines
359 B
Vue
19 lines
359 B
Vue
<script setup lang="ts">
|
|
import { addNewMessage } from "@/services/popupDisplayer.ts";
|
|
</script>
|
|
|
|
<template>
|
|
<button
|
|
@click="
|
|
addNewMessage(
|
|
'new error from another view',
|
|
Math.floor(Math.random() * 4)
|
|
)
|
|
"
|
|
>
|
|
Add an error
|
|
</button>
|
|
</template>
|
|
|
|
<style scoped></style>
|