title: how to define in svelte.js a global variable over several pages using svelte-router-spa
body: <p>I'm trying to learn svelte and build a card-solution with routing through svelte-router-spa. On each view (index and productdetails) i import my variable basket. This should contain my card-array over the different pages. Unfortunately on every page my array is empty again. How can I define a global var through every page?</p>
  <p>thanks for your help.</p>