# Vue 3 Nuxt 3 Typescript

> Cursor rules for Vue 3 development with TypeScript integration.

| Field | Value |
| --- | --- |
| Content type | [Code](https://dopamine-prompt.com/en/type/code) |
| Models | [Cursor](https://dopamine-prompt.com/en/model/cursor) |
| Industries | [Software Development](https://dopamine-prompt.com/en/industry/software-dev) |
| Tags | [Cursor](https://dopamine-prompt.com/en/tag/cursor) |
| License | [CC0](https://creativecommons.org/publicdomain/zero/1.0/) |
| Source | Submitted by [cursor\_carl](https://dopamine-prompt.com/en/u/7d6baab1-3b49-4d29-9232-f635baa23a38) |
| Last updated | 2026-11-26 |

## Prompt

```
Vue 3 Nuxt 3 TypeScript Guidelines

- Use Vue 3 Composition API patterns with `<script setup>` and clear component boundaries.
- Prefer TypeScript interfaces for object shapes and keep shared types close to the feature that owns them.
- Use Nuxt conventions for routing, layouts, composables, plugins, server routes, and runtime config.
- Keep Tailwind CSS usage responsive, accessible, and consistent with the project design system.
- Use VueUse utilities where they simplify reactivity without hiding important state transitions.
- Optimize Vite/Nuxt builds with lazy loading, dynamic imports, image optimization, and bundle review.
```

Web page: <https://dopamine-prompt.com/en/prompts/vue-3-nuxt-3-typescript>
