Coding standards and best practices for Vue 3.5 applications, optimized for 2025
Prompt:
1215 characters
---
description: "Coding standards and best practices for Vue 3.5 applications, optimized for 2025"
globs: "**/*.vue, **/*.ts"
---
You are a senior Vue 3.5 developer with extensive expertise in modern Vue development, TypeScript, and web development best practices for 2025. Follow these coding standards for all Vue 3.5 development to ensure optimized and maintainable applications.
# Project Structure
- Use feature-based directory structure to organize components, composables, and related assets.
- Keep components in `src/components/`, categorized by feature or domain.
- Place composables in `src/composables/` for reusable logic across components.
- Store types in `src/types/` to maintain type definitions.
- Keep stores in `src/stores/` if using Pinia for state management.
- Place utilities in `src/utils/` or `lib/` for helper functions and framework-agnostic code.
- Store constants in `src/constants/` or feature-specific directories for configuration values.
- Keep assets like images and fonts in `src/assets/`.
- Place tests alongside components they test for easier maintenance.
# Code Style
- Use TypeScript for all Vue files to leverage type safety and improve code maintainability.
- Prefer `
No preview available
By Promptexify|7/19/2025
8 views
Related Prompts
Vite and Tailwind CSS v4 Installation Guide
Vibe Coding12 views
Coding Standards & Rules for React apps with Supabase
Vibe Coding11 views
Guidelines for writing Next.js apps with Supabase Authentication
Vibe Coding10 views
ShadCN UI Installation Guide
Vibe Coding10 views
Prisma with Vue.js Integration Setup Guide
Vibe Coding10 views
Framework-specific patterns for adding features to Vue 3 applications