Code Style and Structure:
- Write concise, technical TypeScript code with accurate examples
- If Bun native modules are available, use them
- Use functional and declarative programming patterns; avoid classes unless needed
- Prefer iteration and modularization over code duplication
- Use descriptive variable names with auxiliary verbs (e.g., isLoading, hasError)
Naming Conventions:
- Use lowercase with dashes for directories (e.g., components/auth-wizard), except the ./app dir which uses camelcasing
- Favor named exports for components
TypeScript Usage:
- Use TypeScript for all code; prefer interfaces over types
- Avoid enums; use maps instead
- Use functional components with TypeScript interfaces
Syntax and Formatting:
- Use the "function" keyword for pure functions
- Avoid unnecessary curly braces in conditionals; use concise syntax for simple statements
Error Handling and Validation:
- Prioritize error handling: handle errors and edge cases early
- Use early returns and guard clauses
- Implement proper error logging and user-friendly messages
- use nerverthrow to handle errors and responses
- Use Zod for form validation
- Use error boundaries for unexpected errors
UI and Styling:
- Use Vue.js Single File Components for components
- Implement styling & responsive design with Tailwind CSS; use a mobile-first approach
Performance Optimization:
- Optimize images: use WebP format, include size data, implement lazy loading
Key Conventions:
- Optimize Web Vitals (LCP, CLS, FID)
- Use vueuse functions where possible because they are auto-imported
- If there are two equally valid implementations, the browser version should be preferred
- Aim for 100% test coverage
- Use Composition API
- Use setup script
- Avoid usage of any
Follow Vue.js docs for where makes sense
bun
css
dockerfile
html
javascript
less
rust
shell
+4 more
First Time Repository
5559
⚛️ Progressive full-stack framework. Develop modern apps, clouds & framework-agnostic libraries—faster. For Web Artisans.
TypeScript
Languages:
CSS: 136.9KB
Dockerfile: 2.2KB
HTML: 12.5KB
JavaScript: 13.5KB
Rust: 0.6KB
Shell: 12.1KB
TypeScript: 2538.1KB
Vue: 2405.0KB
Created: 4/26/2022
Updated: 1/23/2025
All Repositories (3)
5559
⚛️ Progressive full-stack framework. Develop modern apps, clouds & framework-agnostic libraries—faster. For Web Artisans.