We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
svelte version:4.2.12 my app.svelte code
<script lang="ts"> import { Router } from 'svelte-router-spa' import { TestRoutes } from "@/routers/routers"; </script> <Router {TestRoutes} />
my routers.js code
import Login from "@/pages/login.svelte"; export const TestRoutes = [ { name: '/login', component: Login, } ]
When I try to access localhost:5173/login, the routing does not take effect. The routing does not take effect and always changes to 404.html.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
svelte version:4.2.12
my app.svelte code
my routers.js code
When I try to access localhost:5173/login, the routing does not take effect.
The routing does not take effect and always changes to 404.html.
The text was updated successfully, but these errors were encountered: