<script setup lang="ts">
let url = document.location.href;
if (url.charAt(url.length - 1) !== '/') {
  url += '/';
}
</script>


<template>
  <main class="px-4 py-8">
    <h1>404 - Not Found as Vue view...</h1>
    <div class="text-xl mt-8">Add trailing slash for django view?</div>
    <div class="mt-8 text-xl">Try this: <a class="link" :href="url">{{ url }}</a></div>
  </main>
</template>

<style scoped>
</style>
