The Vue Framework
for Web Architects
Nuxt is an open source framework that makes web development intuitive and powerful.
Create performant and production-grade full-stack web apps and websites with confidence.
Trusted by the best frontend teams
Write full-stack
Vue Applications
We love Vue Single-File Components as much as you do. Simple, intuitive and powerful, Nuxt lets you write Vue components in a way that makes sense. Every repetitive tasks are automated, so you can focus on writing your full-stack Vue application with confidence.
<script setup>
useSeoMeta({
title: 'Meet Nuxt',
description: 'The Vue Framework for Web Architects.'
})
</script>
<template>
<div id="app">
<AppHeader />
<NuxtPage />
<AppFooter />
</div>
</template>
<style>
#app {
background-color: navy;
color: lightgreen;
}
</style>
export default defineNuxtConfig({
routeRules: {
// Homepage pre-rendered at build time
'/': { prerender: true },
// Product page generated on-demand, revalidates in background
'/products/**': { swr: true },
// Blog post generated on-demand once until next deploy
'/blog/**': { isr: true },
// Admin dashboard renders only on client-side
'/admin/**': { ssr: false },
// Add cors headers on API routes
'/api/**': { cors: true },
// Redirects legacy urls
'/old-page': { redirect: '/new-page' }
}
})
Static or Dynamic,
the choice is yours
Decide what rendering strategy you need at the route level. By leveraging the hybrid rendering, you can get the best of both worlds: the performance of a static site and the interactivity of a dynamic one.
Compose with
everything you need
Routing & Layouts
File based routing system to build complex views and interfaces with a powerful and conventional approach.
Data Fetching
Composables that run on the server to fetch data for your components and enable you to render content in different ways.
Assets & Style
Image, Font and Script optizations with a built-in support for CSS Modules, Sass, PostCSS, CSS-in-JS and more.
SEO & Meta Tags
Production ready and indexable by search engines while giving the feeling of an app to the end-users.
Middleware
Run custom code such as authentication, localization or A/B testing before rendering a page or a group of pages.
State Management
Composable that provide a simple way to create a reactive and SSR-friendly shared state between components.
Transitions
Create smooth transitions between layouts, pages and components with a built-in support for Vue transitions.
Error Handling
Built-in error handling and logging to help you debug your application and provide a better user experience.
Layers
Extend your Nuxt application with another Nuxt application to reuse components, utils and configuration.
Server Routes
Create API endpoints and server routes to securely connect with third party services and consume from your frontend.
Auto Imports
Nuxt auto-imports helpers, composables and Vue APIs to use across your app without explicitly importing them.
TypeScript
Nuxt provides helpful shortcuts to ensure you have access to accurate type information when you are coding.
Ship faster with
endless integrations
Integrate with your favorite tools and services. Nuxt is built to be flexible and can be extended with a robust modules ecosystem. Connect your application with popular headless CMS, eCommerce, Database or UI/UX libraries with a single line of code.
Built by developers
around the world.
The development of Nuxt and its ecosystem is led by an international team. From contributors to developer advocates, the community is made of members with different horizons and skills. We are happy to see new members every day and encourage anyone to join us and help in many ways: answering questions, giving a talk, creating modules and contributing to the core.