Vue + Cursor
A Cursor project rule and MCP servers for your stack. This page shows exactly what pickstack adds to a Vue 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 vue --modules cursor --yesCustomize in the configurator
New files
---
description: Project structure, conventions and checks for source files
globs: "src/**/*.{vue,ts,js}"
alwaysApply: false
---
Follow the structure, conventions and checks in AGENTS.md at the repository root.
# my-app
Stack: Vue 3, Vite, TypeScript.
## Commands
- `npm install`: install dependencies
- `npm run dev`: start the dev server
- `npm run build`: production build
- `npm run preview`: serve the production build
- `npm run typecheck`: type-check
## Project structure
- `src/main.ts` creates the app; `src/App.vue` is the root component.
- Components live in `src/components/`, routed views in `src/views/`; `@/` points to `src/`.
## Conventions
- Single-file components with `<script setup lang="ts">` and the Composition API.
- TypeScript strict mode; avoid `any`.
## Before finishing a change
Run `npm run typecheck` and fix what they report.
Project files
.cursor/rules/vue.mdc.gitignoreAGENTS.mdREADME.mdenv.d.tsindex.htmlpackage.jsonsrc/App.vuesrc/assets/main.csssrc/components/CounterCard.vuesrc/main.tstsconfig.app.jsontsconfig.jsontsconfig.node.jsonvite.config.ts