rename folder

This commit is contained in:
sanjeed5
2025-02-27 00:04:07 +05:30
parent 519c3fa882
commit f7fa52c998
879 changed files with 0 additions and 0 deletions
@@ -0,0 +1,10 @@
---
description: Applies Qwik.js best practices for files within the src directory, focusing on lazy-loading, reactive state, data fetching, and side effects.
globs: src/**/*.*
---
- Use $ suffix for lazy-loaded functions
- Utilize useSignal() for reactive state
- Implement useStore() for complex state objects
- Use useResource$() for data fetching
- Implement useTask$() for side effects
- Utilize useVisibleTask$() for browser-only code
@@ -0,0 +1,8 @@
---
description: Focuses on error handling, routing with Qwik City, Qwik's optimization features, and lazy-loading for improved performance.
globs: src/**/*.*
---
- Implement proper error boundaries
- Utilize Qwik City for routing when applicable
- Use Qwik's built-in optimization features
- Implement lazy-loading for improved performance
@@ -0,0 +1,15 @@
---
description: Provides guidelines and the expected folder structure for a Qwik.js project.
globs: *
---
- Use the following folder structure:
src/
components/
routes/
global.css
root.tsx
entry.ssr.tsx
public/
vite.config.ts
tsconfig.json
@@ -0,0 +1,5 @@
---
description: Enforces general preferences for Qwik.js components in TypeScript files, promoting functional components.
globs: **/*.tsx
---
- Prefer functional components
@@ -0,0 +1,7 @@
---
description: Adheres to Qwik's naming conventions, server-side code execution, and leveraging Vite plugins for optimized builds.
globs: src/**/*.*
---
- Follow Qwik's naming conventions and best practices
- Use server$ for server-side code execution
- Leverage Vite plugins for optimized builds
@@ -0,0 +1,5 @@
---
description: Ensures TypeScript is used for all .ts and .tsx files, enhancing type safety in Qwik.js projects.
globs: **/*.ts, **/*.tsx
---
- Use TypeScript for all .ts and .tsx files