<script>
  import { Router, Route } from "svelte-routing";
  import Details from "../components/Details.svelte";
  import Home from "../components/Home.svelte";

  export let url = "";
</script>

<Router {url}>
  <Route path="/details/:deviceId" component={Details} />
  <Route path="/" component={Home} />
</Router>
