8 lines
357 B
Plaintext
8 lines
357 B
Plaintext
---
|
|
description: Applies routing conventions in SvelteKit projects.
|
|
globs: src/routes/**/*.svelte
|
|
---
|
|
- Utilize SvelteKit's file-based routing system in the src/routes/ directory.
|
|
- Implement dynamic routes using [slug] syntax.
|
|
- Use load functions for server-side data fetching and pre-rendering.
|
|
- Implement proper error handling with +error.svelte pages. |