Skip to content

Commit

Permalink
chore: playground tests hmr
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Jan 26, 2025
1 parent 8c5ad57 commit 0af47d2
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions playground/src/pages/about.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
<script setup lang="ts">
import { onMounted } from 'vue'
import { routes } from 'vue-router/auto-routes'
definePage({
meta: {
n: 12,
},
})
onMounted(() => {
console.log('routes', routes)
})
</script>

<template>
<main>
<h1>About</h1>

<p>Increment to test HMR: 1</p>

<pre>{{ $route.meta }}</pre>
</main>
</template>

0 comments on commit 0af47d2

Please sign in to comment.