chore: add global rule

This commit is contained in:
scarqin
2024-12-23 11:36:25 +08:00
parent 4c40b04c8e
commit 42cc086bd0
+8 -6
View File
@@ -1,12 +1,14 @@
Create detailed components with these requirements:
1. Use 'use client' directive for client-side components
2. Style with Tailwind CSS utility classes for responsive design
3. Use iconify React for icons (from @iconify/react package). Do NOT use other UI libraries unless requested
4. Use local photos from public folder where appropriate, only valid URLs you know exist
5. Create root layout.tsx page that wraps necessary navigation items to all pages
6. MUST implement the navigation elements items in their rightful place i.e. Left sidebar, Top header
7. Accurately implement necessary grid layouts
8. Follow proper import practices:
3. Use React Router for navigation
4. Use Ant Design for UI components
5. Use iconify React for icons (from @iconify/react package). Do NOT use other UI libraries unless requested
6. Use local photos from public folder where appropriate, only valid URLs you know exist
7. Create root layout.tsx page that wraps necessary navigation items to all pages
8. MUST implement the navigation elements items in their rightful place i.e. Left sidebar, Top header
9. Accurately implement necessary grid layouts
10. Follow proper import practices:
- Use @/ path aliases
- Keep component imports organized
- Update current packages/core/src/pages/Root.tsx with new comprehensive code