Nuxt
Nuxt is a free and open source full-stack web framework based on Vue.js, Nitro, and Vite. Nuxt is inspired by Next.js, which is a similar framework based on React rather than the Vue JavaScript library. The main advantage of Nuxt over using Vue alone is its universal rendering system. The framework works as both an in-browser single-page application (SPA) as well as a server-rendered static website, by "hydrating" a server-rendered page to a full SPA after it is loaded. This allows websites to have the search engine optimization and performance benefits of a server-rendered site in addition to the interactivity of a client-rendered application. Nuxt largely abstracts the server-rendering features from the developer, and it's therefore able to have a similar development experience to a traditional SPA using Vue's single-file component (SFC) system. In addition to its universal rendering mechanism, Nuxt also provides many other benefits and quality-of-life features, such as path-based routing, hot module replacement (HMR), TypeScript support out of the box, and middleware and server logic.
Nuxt is a free and open source full-stack web framework based on Vue.js, Nitro, and Vite. Nuxt is inspired by Next.js, which is a similar framework based on React rather than the Vue JavaScript library. The main advantage of Nuxt over using Vue alone is its universal rendering system. The framework works as both an in-browser single-page application (SPA) as well as a server-rendered static website, by "hydrating" a server-rendered page to a full SPA after it is loaded. This allows websites to have the search engine optimization and performance benefits of a server-rendered site in addition to the interactivity of a client-rendered application. Nuxt largely abstracts the server-rendering features from the developer, and it's therefore able to have a similar development experience to a traditional SPA using Vue's single-file component (SFC) system. In addition to its universal rendering mechanism, Nuxt also provides many other benefits and quality-of-life features, such as path-based routing, hot module replacement (HMR), TypeScript support out of the box, and middleware and server logic. Nuxt automatically imports most Vue composition API functions, and any helper functions from the composables/ and utils/ folders. // ref is automatically imported const count = ref(0); // useRoute is also automatically imported const route = useRoute(); To enable layouts in a Nuxt project, the entry point of the application, app.vue , must include a NuxtLayout component to toggle between layouts for each page. The default layout is located at layouts/default.vue , and must include a slot for the page content. A page can use a custom layout by using the definePageMeta helper in a setup function or block. definePageMeta({ layout: "custom", }); export default defineNuxtMiddleware((to, from) => { // navigation logic if (to.params.id === "0") return abortNavigation(); return navigateTo(`/users/${to.params.id}`); }); Nuxt can also generate server API routes and handlers, using the server/ folder. Any file placed in server/api will become an API route, and any file placed in server/routes will become a route file, the difference being the final file location ( server/api adds an api prefix to the path). // server/api/hello.ts export default defineEventHandler((event) => { return { some: "data here", }; }); This can now be called from components using the useFetch composable. const { data } = await useFetch('/api/hello')
References
- Nuxt First Public Release · retrieved 2026-11-17 · rev 1337808011
Cite this reference
MLA "Nuxt First Public Release." 2026-11-17. https://www.npmjs.com/package/nuxt/v/0.0.1. Accessed 24 November 2026.
Chicago "Nuxt First Public Release." 2026-11-17. https://www.npmjs.com/package/nuxt/v/0.0.1.
APA encyclopegia.org. (2026). Nuxt First Public Release. Retrieved November 24, 2026, from https://www.npmjs.com/package/nuxt/v/0.0.1
- pages/ · Nuxt Directory Structure · retrieved 2025-03-05 · rev 1337808011
Cite this reference
MLA "pages/ · Nuxt Directory Structure." 2025-03-05. https://web.archive.org/web/20230819053825/https://nuxt.com/docs/guide/directory-structure/pages. Accessed 24 November 2026.
Chicago "pages/ · Nuxt Directory Structure." 2025-03-05. https://web.archive.org/web/20230819053825/https://nuxt.com/docs/guide/directory-structure/pages.
APA encyclopegia.org. (2025). pages/ · Nuxt Directory Structure. Retrieved November 24, 2026, from https://web.archive.org/web/20230819053825/https://nuxt.com/docs/guide/directory-structure/pages
- Auto-imports · Nuxt Concepts · retrieved 2025-03-05 · rev 1337808011
Cite this reference
MLA "Auto-imports · Nuxt Concepts." 2025-03-05. https://nuxt.com/docs/guide/concepts/auto-imports. Accessed 24 November 2026.
Chicago "Auto-imports · Nuxt Concepts." 2025-03-05. https://nuxt.com/docs/guide/concepts/auto-imports.
APA encyclopegia.org. (2025). Auto-imports · Nuxt Concepts. Retrieved November 24, 2026, from https://nuxt.com/docs/guide/concepts/auto-imports
- Views · Get Started with Nuxt · retrieved 2025-03-05 · rev 1337808011
Cite this reference
MLA "Views · Get Started with Nuxt." 2025-03-05. https://nuxt.com/docs/getting-started/views#layouts. Accessed 24 November 2026.
Chicago "Views · Get Started with Nuxt." 2025-03-05. https://nuxt.com/docs/getting-started/views#layouts.
APA encyclopegia.org. (2025). Views · Get Started with Nuxt. Retrieved November 24, 2026, from https://nuxt.com/docs/getting-started/views#layouts
- layouts/ · Nuxt Directory Structure · retrieved 2025-03-05 · rev 1337808011
Cite this reference
MLA "layouts/ · Nuxt Directory Structure." 2025-03-05. https://nuxt.com/docs/guide/directory-structure/layouts. Accessed 24 November 2026.
Chicago "layouts/ · Nuxt Directory Structure." 2025-03-05. https://nuxt.com/docs/guide/directory-structure/layouts.
APA encyclopegia.org. (2025). layouts/ · Nuxt Directory Structure. Retrieved November 24, 2026, from https://nuxt.com/docs/guide/directory-structure/layouts
- middleware/ · Nuxt Directory Structure · retrieved 2025-03-05 · rev 1337808011
Cite this reference
MLA "middleware/ · Nuxt Directory Structure." 2025-03-05. https://nuxt.com/docs/guide/directory-structure/middleware. Accessed 24 November 2026.
Chicago "middleware/ · Nuxt Directory Structure." 2025-03-05. https://nuxt.com/docs/guide/directory-structure/middleware.
APA encyclopegia.org. (2025). middleware/ · Nuxt Directory Structure. Retrieved November 24, 2026, from https://nuxt.com/docs/guide/directory-structure/middleware
- abortNavigation · Nuxt Utils · retrieved 2025-03-05 · rev 1337808011
Cite this reference
MLA "abortNavigation · Nuxt Utils." 2025-03-05. https://nuxt.com/docs/api/utils/abort-navigation. Accessed 24 November 2026.
Chicago "abortNavigation · Nuxt Utils." 2025-03-05. https://nuxt.com/docs/api/utils/abort-navigation.
APA encyclopegia.org. (2025). abortNavigation · Nuxt Utils. Retrieved November 24, 2026, from https://nuxt.com/docs/api/utils/abort-navigation
- navigateTo · Nuxt Utils · retrieved 2025-03-05 · rev 1337808011
Cite this reference
MLA "navigateTo · Nuxt Utils." 2025-03-05. https://nuxt.com/docs/api/utils/navigate-to. Accessed 24 November 2026.
Chicago "navigateTo · Nuxt Utils." 2025-03-05. https://nuxt.com/docs/api/utils/navigate-to.
APA encyclopegia.org. (2025). navigateTo · Nuxt Utils. Retrieved November 24, 2026, from https://nuxt.com/docs/api/utils/navigate-to
- server/ · Nuxt Directory Structure · retrieved 2025-03-05 · rev 1337808011
Cite this reference
MLA "server/ · Nuxt Directory Structure." 2025-03-05. https://nuxt.com/docs/guide/directory-structure/server. Accessed 24 November 2026.
Chicago "server/ · Nuxt Directory Structure." 2025-03-05. https://nuxt.com/docs/guide/directory-structure/server.
APA encyclopegia.org. (2025). server/ · Nuxt Directory Structure. Retrieved November 24, 2026, from https://nuxt.com/docs/guide/directory-structure/server
- Nuxt First Public Release · retrieved 2026-11-17 · rev 1337808011
Cite this reference
MLA "Nuxt First Public Release." 2026-11-17. https://www.npmjs.com/package/nuxt/v/0.0.1. Accessed 24 November 2026.
Chicago "Nuxt First Public Release." 2026-11-17. https://www.npmjs.com/package/nuxt/v/0.0.1.
APA encyclopegia.org. (2026). Nuxt First Public Release. Retrieved November 24, 2026, from https://www.npmjs.com/package/nuxt/v/0.0.1
- Nuxt: A Universal Vue.js Application Framework · retrieved 2026-11-17 · rev 1337808011
Cite this reference
MLA "Nuxt: A Universal Vue.js Application Framework." Omole, Olayinka (March 18, 2019). 2026-11-17. https://www.sitepoint.com/nuxt-js-universal-vue-js/. Accessed 24 November 2026.
Chicago "Nuxt: A Universal Vue.js Application Framework." Omole, Olayinka (March 18, 2019). 2026-11-17. https://www.sitepoint.com/nuxt-js-universal-vue-js/.
APA Omole, Olayinka (March 18, 2019). (2026). Nuxt: A Universal Vue.js Application Framework. Retrieved November 24, 2026, from https://www.sitepoint.com/nuxt-js-universal-vue-js/
- Getting Started with Server-Side Rendering Using Nuxt · retrieved 2018-07-01 · rev 1337808011
Cite this reference
MLA "Getting Started with Server-Side Rendering Using Nuxt." Berning, Dave (2018-04-16). 2018-07-01. https://alligator.io/vuejs/server-side-rendering-with-nuxtjs/. Accessed 24 November 2026.
Chicago "Getting Started with Server-Side Rendering Using Nuxt." Berning, Dave (2018-04-16). 2018-07-01. https://alligator.io/vuejs/server-side-rendering-with-nuxtjs/.
APA Berning, Dave (2018-04-16). (2018). Getting Started with Server-Side Rendering Using Nuxt. Retrieved November 24, 2026, from https://alligator.io/vuejs/server-side-rendering-with-nuxtjs/
- Vue.js Development · Nuxt Concepts · retrieved 2025-02-08 · rev 1337808011
Cite this reference
MLA "Vue.js Development · Nuxt Concepts." "Vue. 2025-02-08. https://nuxt.com/docs/guide/concepts/vuejs-development#single-file-components. Accessed 24 November 2026.
Chicago "Vue.js Development · Nuxt Concepts." "Vue. 2025-02-08. https://nuxt.com/docs/guide/concepts/vuejs-development#single-file-components.
APA "Vue. (2025). Vue.js Development · Nuxt Concepts. Retrieved November 24, 2026, from https://nuxt.com/docs/guide/concepts/vuejs-development#single-file-components
- Introduction · Get Started with Nuxt · retrieved 2025-02-08 · rev 1337808011
Cite this reference
MLA "Introduction · Get Started with Nuxt." 2025-02-08. https://nuxt.com/docs/getting-started/introduction. Accessed 24 November 2026.
Chicago "Introduction · Get Started with Nuxt." 2025-02-08. https://nuxt.com/docs/getting-started/introduction.
APA encyclopegia.org. (2025). Introduction · Get Started with Nuxt. Retrieved November 24, 2026, from https://nuxt.com/docs/getting-started/introduction
- Routing · Get Started with Nuxt · retrieved 2025-03-05 · rev 1337808011
Cite this reference
MLA "Routing · Get Started with Nuxt." 2025-03-05. https://nuxt.com/docs/getting-started/routing. Accessed 24 November 2026.
Chicago "Routing · Get Started with Nuxt." 2025-03-05. https://nuxt.com/docs/getting-started/routing.
APA encyclopegia.org. (2025). Routing · Get Started with Nuxt. Retrieved November 24, 2026, from https://nuxt.com/docs/getting-started/routing
- Nuxt/LICENSE · retrieved 2023-12-18 · rev 1337808011
Cite this reference
MLA "Nuxt/LICENSE." 2023-12-18. https://raw.githubusercontent.com/nuxt/nuxt/main/LICENSE. Accessed 24 November 2026.
Chicago "Nuxt/LICENSE." 2023-12-18. https://raw.githubusercontent.com/nuxt/nuxt/main/LICENSE.
APA encyclopegia.org. (2023). Nuxt/LICENSE. Retrieved November 24, 2026, from https://raw.githubusercontent.com/nuxt/nuxt/main/LICENSE
- Release 4.6.4 · retrieved 2026-11-17 · rev 1337808011
Cite this reference
MLA "Release 4.6.4." "Release 4. 2026-11-17. https://github.com/nuxt/nuxt/releases/tag/v4.6.4. Accessed 24 November 2026.
Chicago "Release 4.6.4." "Release 4. 2026-11-17. https://github.com/nuxt/nuxt/releases/tag/v4.6.4.
APA "Release 4. (2026). Release 4.6.4. Retrieved November 24, 2026, from https://github.com/nuxt/nuxt/releases/tag/v4.6.4
Cite this article
MLA
"Nuxt." encyclopegia.org, 2026, https://encyclopegia.org/wiki/nuxt. Accessed 24 November 2026.
Chicago
"Nuxt." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/nuxt.
APA
encyclopegia.org. (2026). Nuxt. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/nuxt
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON