title: How to pass props from URL in vueJS when redirect in vue router?
body: <p>My '/' path redirect to '/loading' and I need to pass props like mysite/?demo=true and then that prop pass to the component attached to '/loading'</p>
  
  <p>this is the router config</p>
  
  <pre><code>{
    path: '/',
    redirect: '/loading',
  },
  {
    path: '/loading',
    component: Loading
  },
  </code></pre>