I am using auth to set navigation drawer for my edit page. Navigation drawer is in the navbar component and imported in the layout page. The edit page has a form and a submit button with method that updates the store. Now I wanted to put the submit button in the navigation drawer. If someone can guide the best way to do it. I have learned about the ref option but dont know how it will work with the dynamic pages in Nuxt. any help or link to docs will be helpful.
question from:https://stackoverflow.com/questions/65869522/how-to-link-navigation-drawer-with-page-methods-in-nuxt