mirror of
https://github.com/sanjeed5/awesome-cursor-rules-mdc.git
synced 2026-11-30 23:04:59 +08:00
rename folder
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
---
|
||||
description: Defines best practices for API routes in SvelteKit, focusing on request handling, response formatting, and global middleware.
|
||||
globs: src/routes/api/**/*.ts
|
||||
---
|
||||
- Create API routes in the src/routes/api/ directory.
|
||||
- Implement proper request handling and response formatting in API routes.
|
||||
- Use SvelteKit's hooks for global API middleware.
|
||||
- Implement proper error handling for data fetching operations.
|
||||
Reference in New Issue
Block a user