Answer the question
In order to leave comments, you need to log in
How to pass data from an application instance to a router component?
There is a simple SPA application with a router.
Right now I am passing data to the router component Index
from the Vue object via this.$parent
, but I was told that this is an anti-pattern. How then is it correct to pass parameters from the main application to the router component?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question