mirror of
https://github.com/shadoll/sLogos.git
synced 2025-12-20 03:26:59 +00:00
Refactor App.svelte: Update Router import for consistency and clarity
This commit is contained in:
@@ -1,10 +1,11 @@
|
|||||||
<script>
|
<script>
|
||||||
import { onMount } from "svelte";
|
import { onMount } from "svelte";
|
||||||
import { collections } from "./collections.js";
|
import { collections } from "./collections.js";
|
||||||
import { Router } from "svelte-spa-router";
|
import Router from "svelte-spa-router/Router.svelte";
|
||||||
import Home from "./pages/Home.svelte";
|
import Home from "./pages/Home.svelte";
|
||||||
import Preview from "./pages/Preview.svelte";
|
import Preview from "./pages/Preview.svelte";
|
||||||
import NotFound from "./pages/NotFound.svelte";
|
import NotFound from "./pages/NotFound.svelte";
|
||||||
|
import Header from "./components/Header.svelte";
|
||||||
|
|
||||||
export const routes = {
|
export const routes = {
|
||||||
"/": Home,
|
"/": Home,
|
||||||
|
|||||||
Reference in New Issue
Block a user