unplugin-vue-router
unplugin-vue-router copied to clipboard
Handle TypeScript syntax within `definePage()`
Using TS syntax will produce Syntax errors:
<script setup>
definePage({
alias: 'thing' as string,
})
</script>
Not sure how to support this but I think it should be related to adding ?vue&type...
query to import. TODO: check with the vite vue plugin
@posva Could you take a look at pr for this issue, please https://github.com/posva/unplugin-vue-router/pull/238
@posva Do you have any updates?
@posva, joining Heunsig's question, is there any update?