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

102
Views
Render a splash screen in Vue while fetching data of another view

I need to show a splash screen while data is loaded in the final view.

I have this in router:

 {
    path: "/home",
    name: "Home",
    component: () =>
      import(
        /* webpackPrefetch: true */ /* webpackChunkName: "general" */ "@/views/Home"
      ),
    meta: {
      layout: "MainLayout",
    },
    beforeEnter: (to, from, next) => {
      store.dispatch("modGeneral/actGetNews").then(() => {
        next();
      });
    },
  },

I need to show another route while this is working: store.dispatch("modGeneral/actGetNews"), maybe put any timeout to render it but I can't figure it out yet how to do that.

about 4 years ago · Juan Pablo Isaza
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!