Replies: 3 comments
-
I think I found a way, but I'm not sure this is the best way to go:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello Remo, my bad, the example is incorrect. fix:
(#172 is updated) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Now I understand how |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I managed to get my routing up and running based on this #172.
I then tried to do some magic in a dynamically loaded component.
I can import things from vue with
import { ref, onMounted } from 'vue'
, but as soon as I try to load something from vue-router likeimport { useRoute } from 'vue-router'
, it fails.In the end, I'm trying to access some route params from within onMounted.
Here's an example:
https://jsbin.com/nidexuqero/edit?html,output
Beta Was this translation helpful? Give feedback.
All reactions