Nuxt

Articles in the category Nuxt.
Nuxt Tip: Cancel Fetch API Request Image

Nuxt Tip: Cancel Fetch API Request

In Nuxt 3, you can use the `signal` parameter with the globally available `$fetch` helper to cancel an API request.
Nuxt Tip: Handle Client-Side Errors Image

Nuxt Tip: Handle Client-Side Errors

Nuxt provides the NuxtErrorBoundary component to handle client-side errors.
Nuxt Tip: How to Fix "Nuxt Instance Unavailable" Error Image

Nuxt Tip: How to Fix "Nuxt Instance Unavailable" Error

If you are using Nuxt 3, you probably already encountered the 'Nuxt Instance Unavailable' error.
Nuxt Tip: Detecting Server vs. Client-Side Code Execution Image

Nuxt Tip: Detecting Server vs. Client-Side Code Execution

Nuxt 3 provides a way to detect whether your code is running on the server or client-side.
Nuxt Tip: Custom SPA Loading Template for Your Nuxt Application Image

Nuxt Tip: Custom SPA Loading Template for Your Nuxt Application

When using the client-side rendering mode, Nuxt will display a loading indicator until the application is hydrated.
Nuxt Tip: An URL Object Working on Both Server-Side and Client-Side Image

Nuxt Tip: An URL Object Working on Both Server-Side and Client-Side

Nuxt provides a helper function called useRequestURL that returns an URL object working on both server side and client side.
Nuxt Tip: Differentiate Client and Server Components Image

Nuxt Tip: Differentiate Client and Server Components

Nuxt allows you to define client-side and standalone server components .
Nuxt Tip: Lazy Load Components in Nuxt 3 Image

Nuxt Tip: Lazy Load Components in Nuxt 3

Learn how you can dynamically import components in Nuxt 3 only when they’re needed.
Nuxt Tip: Add Custom iframe Tab to Nuxt DevTools Image

Nuxt Tip: Add Custom iframe Tab to Nuxt DevTools

Nuxt DevTools is designed to be extensible.
Nuxt Tip: Move Homepage to Sub-Folder in Nuxt 3 Image

Nuxt Tip: Move Homepage to Sub-Folder in Nuxt 3

Use the path property in the page's definePageMeta to move the homepage to a sub-folder in Nuxt 3.