PROVIDER - the full-stack Vue application framework
Nuxt
Nuxt is Vue's full-stack framework where conventions and auto imports cut boilerplate, switchable SSR, SSG, and ISR solve SEO and first paint, and Nitro deploys one codebase to Node, serverless, or edge.
Service Overview
Nuxt was created by Sébastien Chopin and Alexandre Chopin in 2016 as Vue's full-stack meta framework with convention-based routing, auto imports, switchable SSR, SSG, and ISR, and server capability from the Nitro engine deployable to Node, serverless, and edge.
For Programming Languages & Frameworks work the value is Vue projects done in one step, since content sites needing SEO solve first paint and indexing through SSR or SSG, the pages directory defines routes with components auto-imported and almost no boilerplate, and useFetch plus server/api keep frontend and backend in one project.
Note the boundaries, because conventions and auto imports hide behaviour from newcomers, SSR needs browser API guards on the server, Chinese tutorials and ecosystem trail Next.js, and deep build customisation pays a debugging tax through the abstraction.
Key Strengths
- Convention-based routing and auto imports with minimal boilerplate
- One-switch SSR, SSG, and ISR for SEO and first paint
- Nitro deploys to Node, serverless, and edge targets
- server/api keeps endpoints in the same project with shared types
Product Ecosystem
Rendering modes
SSR, SSG, ISR, and client-side rendering mixable per route.
Engineering
pages routing, auto-imported components and composables, module extensions, and Nuxt DevTools.
Server
server/api and server/routes define endpoints with Nitro producing multi-platform output.
Limitations
- Implicit conventions confuse newcomers
- SSR requires guarding browser-only APIs
- Chinese material and ecosystem trail Next.js
- Abstraction adds debugging cost for deep build customisation
Use Cases
- SEO-sensitive Vue sites (★★★★★) - Native SSR and SSG
- Content and marketing sites (★★★★★) - Flexible rendering
- Full-stack apps in one repo (★★★★★) - server/api integration
- Internal SPAs only (★★★) - Plain Vite suffices
Pricing
| Plan | Price | Scope |
|---|---|---|
| Nuxt framework | $0 | MIT licensed, entirely free |
| Module ecosystem | $0 | Open source and free |
| Hosting | Platform billing | Vercel, Netlify, or cloud servers |
The framework is free with cost in hosting, since SSG deploys to free static hosting while SSR needs Node or edge runtimes billed by usage, and high-traffic content sites find SSG with a CDN cheapest.
FAQ
-
How does Nuxt differ from plain Vue? Nuxt adds route conventions, SSR and SSG, server endpoints, and auto imports, while Vue alone covers components and reactivity with routing and builds assembled separately.
-
SSR or SSG? SSG for stable content with rebuild triggers, SSR for authenticated or personalised realtime views, and SPA for internal dashboards.
-
Can it deploy to static hosting? Yes through nuxt generate for pure static output, enabling SSR only when endpoints are needed.
Code Examples
Data fetching with useFetch
<script setup>
const { data: plans } = await useFetch('/api/plans');
</script>
<template>
<ul>
<li v-for="p in plans" :key="p.id">{{ p.name }} — {{ p.price }} CNY/mo</li>
</ul>
</template>
useFetch handles SSR and client hydration together avoiding duplicate requests and flicker.
A server route
// server/api/plans.get.ts
export default defineEventHandler(() => [
{ id: 1, name: 'Hong Kong VPS', price: 99 },
]);
Community & Resources
Communities and official channels
- Nuxt Site — Docs, modules, and showcases
- GitHub nuxt/nuxt — Source, issues, and releases
- Stack Overflow #nuxt.js — SSR and config answers
Learning resources and tools
- Nuxt Docs — Routing, data fetching, deployment
- Nuxt Modules — Official and community modules
- Awesome Nuxt — Ecosystem and templates