Nuxt + Claude Code
CLAUDE.md, permissions, a format hook and MCP servers for your stack. This page shows exactly what pickstack adds to a Nuxt project for Claude Code: 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 claude-code --yesCustomize in the configurator
New files
{
"$schema": "https://json.schemastore.org/claude-code-settings.json",
"permissions": {
"allow": [
"Bash(npm install)",
"Bash(npm run build *)",
"Bash(npm run generate *)",
"Bash(npm run typecheck *)"
],
"ask": ["Bash(git push *)"],
"deny": ["Read(./.env)", "Read(./.env.local)", "Read(./.env.*.local)"]
}
}
{
"mcpServers": {
"nuxt": {
"type": "http",
"url": "https://nuxt.com/mcp"
}
}
}
# 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.
@AGENTS.md
## Claude Code
- After a change, run `npm run typecheck` before reporting it done.
- MCP servers for this stack are in `.mcp.json` (nuxt); prefer them over guessing APIs.
- Keep secrets in `.env.local`; Claude is not allowed to read `.env` files.
Changes to existing files
⋯ 4 unchanged lines .data .nitro .cache+.claude/settings.local.json+CLAUDE.local.md .env .env.local .DS_Store⋯ 1 unchanged lines
Project files
.claude/settings.json.gitignore.mcp.jsonAGENTS.mdCLAUDE.mdREADME.mdapp/app.vueapp/assets/css/main.cssapp/components/CounterCard.vueapp/pages/about.vueapp/pages/index.vuenuxt.config.tspackage.jsonpublic/robots.txttsconfig.json