Answer the question
In order to leave comments, you need to log in
How to use value from data() of one component in another vue?
There is a component ( toolbar ) to which you need to pass a value from another component ( B ), but component B is essentially a page that is loaded when you follow the links of the router
. Here is the structure
<template>
<v-app>
<v-content>
<Toolbar />
<Drawer />
<nuxt />
</v-content>
</v-app>
</template>
<script>
import Toolbar from '~/components/core/Toolbar.vue'
import Drawer from '~/components/core/Drawer.vue'
export default {
components: {
Toolbar,
Drawer
}
}
</script>
<nuxt /> = <router-view />
) 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