feat: allow router instance in js/ts
Currently, to use the router, you must pass the component's useRouter
I think we can export router instance for those who need
import { router } from 'valaxy/client'
router.push('...')
router is from vue-router.
They behave exactly the same, and I think it's always correct to import from vue-router.
import { router } from 'vue-router'
I think yes, as long as we can get it, but it doesn't seem to be supported at the moment

Use it like this.
import { useRouter } from 'vue-router'
const router = useRouter()
No, we can't get the router outside the component via useRouter, it only works during setup
useRouter need and should only works durint setup.
Even if we export from Valaxy, it needs to be initialized in Setup.
If you want a instance, this.$router can be achieved in Vue.
https://router.vuejs.org/guide/#javascript