Svelte · Junior · Question 49 of 76
How are routes defined in SvelteKit?
- ✓Correct answer: By the folder structure in
src/routes; each folder with+page.svelteis a page - 2In a
routes.jsconfiguration file - 3With
<Route>components
Explanation
src/routes/about/+page.svelte becomes /about. Files with a + prefix have special meaning for the router.