nuxt-fullstack
/nuxt-fullstack
Use this skill when building full-stack universal Vue applications with Nuxt 3, file-based routing, Nitro server engine, and SEO modules.
- Author
- nextboxis ↗
- Repository
- library-skill-agents ↗
- Licence
- MIT
- Last repository change
- 28.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 1
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 28.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- SKILL.md zawiera komentarze HTML (1). Nie widać ich w podglądzie Markdown, a model je czyta.
What it does and when to use it
Use this skill when building full-stack universal Vue applications with Nuxt 3, file-based routing, Nitro server engine, and SEO modules.
Original author description
Use this skill when building full-stack universal Vue applications with Nuxt 3, file-based routing, Nitro server engine, and SEO modules.
How it works
- When to use
- Prerequisites
- Step-by-step workflow
- Commands / code examples
- Common mistakes & pitfalls
- Verification checklist
- Related skills
SKILL.md preview
---
name: nuxt-fullstack
description: Use this skill when building full-stack universal Vue applications with Nuxt 3, file-based routing, Nitro server engine, and SEO modules.
---
# Nuxt Fullstack
## When to use
Use this skill when developing universal (SSR/SSG) Vue 3 applications, building integrated server API routes, or configuring auto-imported composables.
## Prerequisites
- Node.js 18.0.0+ or 20+.
- Nuxt 3 installed via `npx nuxi@latest init`.
## Step-by-step workflow
1. **Organize directory structure**: Utilize standard folders: `pages/` for routing, `components/` for auto-imported components, `server/` for backend endpoints.
2. **Fetch data with SSR-safe composables**: Use `useFetch` or `useAsyncData` to ensure data loads on the server and hydrates without duplicate client requests.
3. **Define server endpoints**: Create handlers inside `server/api/` using `defineEventHandler` and Nitro runtime utilities.
4. **Configure SEO and metadata**: Apply `useSeoMeta()` and `useHead()` for social meta tags and Open Graph data.
5. **Manage shared state**: Leverage `useState()` for SSR-friendly reactive state shared across pages and components.
## Commands / code examples
```ts
// server/api/products/[id].get.ts
export default defineEventHandler(async (event) => {
const id = getRouterParam(event, 'id');
if (!id) {
throw createError({ statusCode: 400, statusMessage: 'Product ID is required' });
}
// Simulate internal service lookup
return {
id,
name: `Enterprise Plan ${id}`,
price: 99.00,
available: true,
};
});
```
```vue
<!-- pages/products/[id].vue -->
<script setup lang="ts">
const route = useRoute();
const { data: product, error } = await useFetch(`/api/products/${route.params.id}`);
useSeoMeta({
title: () => product.value ? `${product.value.name} - Store` : 'Product Not Found',
});
</script>
<template>
<div v-if="error">Error loading product.</div>
<div v-else-if="product">
<h1>{{ product.name }}</h1>
<p>Price: ${{ product.price }}</p>
</div>
</template>
```
## Common mistakes & pitfalls
- Using standard `fetch()` instead of `useFetch()` inside components, causing hydration mismatches and double fetching.
- Accessing browser globals (`window`, `localStorage`) on server render passes without `process.client` checks.
- Overriding auto-imports with manual imports inconsistently across the codebase.
## Verification checklist
- [ ] Data fetching uses `useFetch()` or `useAsyncData()` with unique keys.
- [ ] Browser-specific APIs are guarded with `import.meta.client` or executed in `onMounted`.
- [ ] Server endpoints validate input parameters with `getRouterParam` / `readBody`.
- [ ] SEO tags are dynamically populated using `useSeoMeta()`.
## Related skills
- vue-composition-api
- restful-api-design-best-practices
- progressive-web-apps
- web-vitals-lcp-cls-inp-optimization
Versions
The database has no other skills named nuxt-fullstack.
Database snapshot: 13.11.2026 · package version 0b59f6fc6d4b (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100nuxt
Expert Nuxt 3 assistance covering Vue 3, auto-imports, file-based routing, Nitro server engine, and universal rendering. Use when developing SEO-optimized full-stack Vue applications. - 90nuxt
Nuxt 4 full-stack Vue framework. app directory layout, file-based routing, layouts and middleware, useFetch and useAsyncData, useState, server routes on Nitro, rendering modes and route rules, modules and layers, deployment, plus Nitro v3 and Nuxt 5 preparation. Use when working… - 85nuxt
Nuxt full-stack Vue framework with SSR, auto-imports, and file-based routing. Use when working with Nuxt apps, server routes, useFetch, middleware, or hybrid rendering. - 95nuxt3
Nuxt 3 full-stack Vue framework. Covers file-based routing, data fetching, server routes, and auto-imports. Use when building Nuxt applications. USE WHEN: user mentions "Nuxt", "Nuxt 3", asks about "useFetch", "Nuxt server routes", "Nitro", "Nuxt auto-imports", "Nuxt… - 100nuxt
Nuxt 3 knowledge base - Vue 3, Composition API, Nitro server, auto-imports. Use when working on a Nuxt project, building Vue 3 applications, or implementing SSR/SSG with Nuxt. - 100nuxt-core
Nuxt 5 core framework with project setup, routing, SEO, error handling, and Vite 8/Nitro v3 configuration. Use when creating Nuxt 5 apps, setting up routing, or migrating config.