pickstack

Nuxt + Cursor

A Cursor project rule and MCP servers for your stack. This page shows exactly what pickstack adds to a Nuxt project for Cursor: the packages, the new files and the changes to existing ones. Every combination is installed, built, linted and tested in CI.

$ npm create pickstack@latest my-app -- --framework nuxt --modules cursor --yes
Customize in the configurator

New files

.cursor/mcp.json
{
  "mcpServers": {
    "nuxt": {
      "type": "http",
      "url": "https://nuxt.com/mcp"
    }
  }
}
.cursor/rules/nuxt.mdc
---
description: Project structure, conventions and checks for source files
globs: "app/**/*.{vue,ts,js}"
alwaysApply: false
---

Follow the structure, conventions and checks in AGENTS.md at the repository root.
AGENTS.md
# my-app

Stack: Nuxt 4, Vue 3, TypeScript.

## Commands

- `npm install`: install dependencies
- `npm run build`: production build
- `npm run dev`: start the dev server
- `npm run generate`
- `npm run preview`: serve the production build
- `npm run typecheck`: type-check

## Project structure

- Source is in `app/`: pages in `app/pages/` (file-based routes), components in `app/components/`.
- `nuxt.config` holds modules and runtime config.

## Conventions

- Components, composables and Vue APIs are auto-imported; don't add imports for them.
- Use `<script setup>` and `useFetch`/`useAsyncData` for data loading.
- TypeScript strict mode; avoid `any`.

## Before finishing a change

Run `npm run typecheck` and fix what they report.

Project files

Related templates