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,11 @@
---
description: Provides additional guidelines for HTMX development, focusing on semantic HTML, security, extensions, progressive enhancement, and server-side templating.
globs: **/*.html
---
- Use semantic HTML5 elements
- Implement proper CSRF protection
- Utilize HTMX extensions when needed
- Use hx-boost for full page navigation
- Implement proper error handling
- Follow progressive enhancement principles
- Use server-side templating (e.g., Jinja2, Handlebars)
@@ -0,0 +1,10 @@
---
description: Applies general HTMX best practices to all HTML files in the project, ensuring consistent use of HTMX attributes for requests, content swapping, and user feedback.
globs: **/*.html
---
- Use hx-get for GET requests
- Implement hx-post for POST requests
- Utilize hx-trigger for custom events
- Use hx-swap to control how content is swapped
- Implement hx-target to specify where to swap content
- Utilize hx-indicator for loading indicators
@@ -0,0 +1,12 @@
---
description: Enforces a specific folder structure within the 'src' directory for HTMX projects, promoting organization and maintainability of templates, static assets, and application logic.
globs: src/**/*.*
---
- Enforce the following folder structure:
src/
templates/
static/
css/
js/
app.py