Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

160
Views
Vue JS 2. How to prevent reload same nested component when navigate between two parent?

I have Menu component, that is nested in two different layouts. When I navigate between these two parent component, Vue reloads nested component every time. It cause a problem: Menu's scroll position goes to 0:0 when page is reload. I tried to use , but it didn't work.

How can I prevent same nested component reloading when switching between two parents?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

It seems you are using the same store/data options in two different layouts. Try to save your data in the parents components and only pass it to your menu via props.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!