added sentry

This commit is contained in:
2023-04-27 14:30:05 +02:00
parent ec26ba1f2a
commit 95167e3db3
2 changed files with 19 additions and 0 deletions

View File

@ -1,6 +1,9 @@
<script setup>
import { RouterLink, RouterView } from 'vue-router'
import HelloWorld from './components/HelloWorld.vue'
function throwError() {
throw new Error('Sentry Error');
}
</script>
<template>
@ -13,6 +16,7 @@ import HelloWorld from './components/HelloWorld.vue'
<nav>
<RouterLink to="/">Home</RouterLink>
<RouterLink to="/about">About</RouterLink>
<button @click="throwError">Throw error</button>
</nav>
</div>
</header>