title: Render a splash screen in Vue while fetching data of another view
body: <p>I need to show a splash screen while data is loaded in the final view.</p>
  <p>I have this in router:</p>
  <pre><code> {
      path: &quot;/home&quot;,
      name: &quot;Home&quot;,
      component: () =&gt;
        import(
          /* webpackPrefetch: true */ /* webpackChunkName: &quot;general&quot; */ &quot;@/views/Home&quot;
        ),
      meta: {
        layout: &quot;MainLayout&quot;,
      },
      beforeEnter: (to, from, next) =&gt; {
        store.dispatch(&quot;modGeneral/actGetNews&quot;).then(() =&gt; {
          next();
        });
      },
    },
  </code></pre>
  <p>I need to show another route while this is working: <code>store.dispatch(&quot;modGeneral/actGetNews&quot;)</code>, maybe put any timeout to render it but I can't figure it out yet how to do that.</p>