P
P
Pavel Kornilov2019-02-22 10:44:25
Vue.js
Pavel Kornilov, 2019-02-22 10:44:25

How to get a parameter from root inside a component?

Hello!
I just can’t figure out how to get data from root inside its
component .
computed returns an object) from navMenu.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Yarkov, 2019-02-22
@KorniloFF

How did you read the docs? Diagonally?
this.$root.defineCurPage

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question