Svelte · Junior · Question 49 of 76

How are routes defined in SvelteKit?

Explanation

src/routes/about/+page.svelte becomes /about. Files with a + prefix have special meaning for the router.

Further reading

Problem with a question

Svelte · Junior · question 49

Test yourself

Take the Svelte · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz