Routing separated in different svelte coponents

This issue has been tracked since 2021-12-08.

I have a site built with several svelte components. The main page Start.svelte, consists of:

  • Header.svelte
  • Main.svelte
  • Footer.svelte
<Header />
<Main menuOnRight="false" />
<Footer pub_date={pubDate} version={ver} />

Main.svelte is separated into two components:

  • Menu.Svelte
  • Body.svelte
<div class="main">
    <Menu />
    <Body />
</div>

Is it possible to use routing in such a way that the <Router> contained in Menu.svelte changes the content in Body.svelte?

More Details About Repo
Owner Name EmilTholin
Repo Name svelte-routing
Full Name EmilTholin/svelte-routing
Language JavaScript
Created Date 2017-11-28
Updated Date 2022-12-03
Star Count 1711
Watcher Count 21
Fork Count 151
Issue Count 59

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date