Nuxt 3 TypeScript with Nuxt UI Rules — Cursor Rules | Neura Market
    Neura MarketNeura Market/Cursor
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsBlogVideosGuidesCoursesCommunityExtensionsTrendingGenerate
    CursorRulesNuxt 3 TypeScript with Nuxt UI Rules
    Back to Rules
    Frontend

    Nuxt 3 TypeScript with Nuxt UI Rules

    April 15, 2026
    5,886 copies 0 downloads

    You have extensive expertise in Vue 3, Nuxt 3, TypeScript, Node.js, Vite, Vue Router, Pinia, VueUse, Nuxt UI, and Tailwind CSS. You possess a deep knowledge of best practices and performance optimization techniques across these technologies.

    Rule Content
    You have extensive expertise in Vue 3, Nuxt 3, TypeScript, Node.js, Vite, Vue Router, Pinia, VueUse, Nuxt UI, and Tailwind CSS. You possess a deep knowledge of best practices and performance optimization techniques across these technologies.
    
          Code Style and Structure
          - Write clean, maintainable, and technically accurate TypeScript code.
          - Prioritize functional and declarative programming patterns; avoid using classes.
          - Emphasize iteration and modularization to follow DRY principles and minimize code duplication.
          - Prefer Composition API <script setup> style.
          - Use Composables to encapsulate and share reusable client-side logic or state across multiple components in your Nuxt application.
    
          Nuxt 3 Specifics
          - Nuxt 3 provides auto imports, so theres no need to manually import 'ref', 'useState', or 'useRouter'.
          - For color mode handling, use the built-in '@nuxtjs/color-mode' with the 'useColorMode()' function.
          - Take advantage of VueUse functions to enhance reactivity and performance (except for color mode management).
          - Use the Server API (within the server/api directory) to handle server-side operations like database interactions, authentication, or processing sensitive data that must remain confidential.
          - use useRuntimeConfig to access and manage runtime configuration variables that differ between environments and are needed both on the server and client sides.
          - For SEO use useHead and useSeoMeta.
          - For images use <NuxtImage> or <NuxtPicture> component and for Icons use Nuxt Icons module.
          - use app.config.ts for app theme configuration.
    
          Fetching Data
          1. Use useFetch for standard data fetching in components that benefit from SSR, caching, and reactively updating based on URL changes. 
          2. Use $fetch for client-side requests within event handlers or when SSR optimization is not needed.
          3. Use useAsyncData when implementing complex data fetching logic like combining multiple API calls or custom caching and error handling.
          4. Set server: false in useFetch or useAsyncData options to fetch data only on the client side, bypassing SSR.
          5. Set lazy: true in useFetch or useAsyncData options to defer non-critical data fetching until after the initial render.
    
          Naming Conventions
          - Utilize composables, naming them as use<MyComposable>.
          - Use **PascalCase** for component file names (e.g., components/MyComponent.vue).
          - Favor named exports for functions to maintain consistency and readability.
    
          TypeScript Usage
          - Use TypeScript throughout; prefer interfaces over types for better extendability and merging.
          - Avoid enums, opting for maps for improved type safety and flexibility.
          - Use functional components with TypeScript interfaces.
    
          UI and Styling
          - Use Nuxt UI and Tailwind CSS for components and styling.
          - Implement responsive design with Tailwind CSS; use a mobile-first approach.

    Tags

    nuxtjsvuetypescriptnuxt/uivueusetailwindpinia

    Comments

    More Rules

    View all
    Web Development

    Next.js 15 + TypeScript Cursor Rules

    Comprehensive .cursorrules file for Next.js 15 App Router projects with TypeScript, enforcing server components by default, proper use of "use client" directive, and App Router conventions.

    C
    Community
    Backend Development

    Python FastAPI Best Practices Rules

    Cursor rules for Python FastAPI projects enforcing async patterns, Pydantic v2 models, dependency injection, and proper error handling.

    C
    Community
    Frontend Development

    React + TypeScript Component Rules

    Rules for consistent React component development with TypeScript interfaces, proper hook patterns, and component composition.

    C
    Community
    AI/ML

    Cursor Agent Mode Configuration

    Rules optimizing Cursor Agent mode behavior including multi-file editing context, session management, and autonomous task completion patterns.

    C
    Cursor Team
    Frontend Development

    Tailwind CSS + shadcn/ui Rules

    Cursor rules for projects using Tailwind CSS with shadcn/ui component library, enforcing consistent utility class usage and component patterns.

    C
    Community
    Backend Development

    Go Backend Service Rules

    Rules for Go backend services enforcing idiomatic Go patterns, proper error handling, and clean architecture conventions.

    C
    Community

    Stay up to date

    Get the latest Cursor prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Cursor and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.