nuxt

Develop full-stack Vue applications with Nuxt server-side rendering and file-based routing.

2|Updated Jan 5, 2024
One-click install
npx skills add https://github.com/wilfriedago/dotfiles --skill nuxt-wilfriedago
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nuxt
Source: https://github.com/wilfriedago/dotfiles/tree/main/agents/skills/nuxt
Command: npx skills add https://github.com/wilfriedago/dotfiles --skill nuxt-wilfriedago

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the development of full-stack Vue applications by providing a robust framework for server-side rendering, automatic code imports, and file-based routing, simplifying complex web application creation.

Core Features & Use Cases

  • Full-Stack Vue: Develop both frontend and backend logic within a single framework.
  • SSR & Hybrid Rendering: Optimize for performance and SEO with server-side rendering or choose hybrid approaches.
  • File-Based Routing: Automatically generate routes based on your file structure.
  • Auto-Imports: Components, composables, and utilities are automatically available.
  • Use Case: Quickly scaffold a new Nuxt project, set up API routes for data fetching, implement server-side rendering for SEO-critical pages, and leverage auto-imported components for a faster development cycle.

Quick Start

Use the nuxt skill to generate a new Nuxt project with the command npx nuxi@latest init my-nuxt-app.

Frequently Asked Questions about nuxt

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a full-stack Vue application with server-side rendering?

You can build full-stack Vue applications with server-side rendering using the Nuxt framework, which provides built-in SSR capabilities, auto-imports, and file-based routing to streamline development. It supports hybrid rendering and server routes for scalable solutions.

What is the best way to scaffold a new Nuxt project?

The best way to scaffold a new Nuxt project is by running the command `npx nuxi@latest init my-nuxt-app`, which sets up the foundational structure for your full-stack Vue application with file-based routing and auto-imports enabled.

Does Vue support file-based routing and auto-imports for components?

Vue supports file-based routing and auto-imports for components through the Nuxt framework. It automatically generates routes based on your file structure and makes components, composables, and utilities automatically available without manual imports.

Can I implement server routes for data fetching in a Vue app?

You can implement server routes for data fetching in a Vue app using Nuxt's full-stack capabilities, allowing you to develop both frontend and backend logic within a single framework for scalable web solutions.

When should I use hybrid rendering for SEO in web development?

You should use hybrid rendering for SEO when you need to optimize performance and search engine visibility. Nuxt allows you to choose between server-side rendering for SEO-critical pages and hybrid approaches for flexible rendering strategies.