Vue3 Vue.prototype.$route = route alternative #441
Answered
by
ajnsn
patie
asked this question in
Help (Vue)
-
Hi, in docs i see Vue.prototype.$route = route, but this dont work 1. Vue.prototype doesnt exists or its bad way (maybe provide os something?) 2. route variable/method doesnt exists? thank you |
Beta Was this translation helpful? Give feedback.
Answered by
ajnsn
Jan 16, 2021
Replies: 1 comment
-
@patie In Vue 3 it's app.config.globalProperties |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
claudiodekker
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@patie In Vue 3 it's app.config.globalProperties