Category · 27 articles

Nuxt

Articles in the category Nuxt.

2026

1 entry

Nuxt Tip: Difference Between useFetch and event.$fetch

Understand the key distinction between useFetch and event.$fetch in Nuxt. Learn why using event.$fetch for server-side API calls is the recommended approach for better performance and SSR correctness.

Vue tip2 minNuxt

2025

3 entries

Nuxt Tip: Managing Page Load States With useLoadingIndicator

Learn how to use the useLoadingIndicator composable in Nuxt to access and manage the loading state of your app's pages. Improve user experience by displaying loading indicators and handling transitions seamlessly.

Vue tip1 minNuxt

Nuxt Tip: Parallel Fetch Requests

Learn to wield useAsyncData along with Promise.all() to load data faster with parallel requests in your Nuxt application.

Vue tip1 minNuxt

2024

7 entries

Nuxt Tip: Run Code Once During SSR or CSR

Since Nuxt 3.9 you can use the useOnce composable to run a given function or block of code once during server-side rendering or client-side navigation.

Vue tip1 minNuxt

Nuxt Tip: Use Environment-Specific Configurations

It sometimes happens that you need to have different configurations for different environments in your Nuxt.js application. Therefore, Nuxt provides fully typed, per-environment overrides for your Nuxt configuration.

Vue tip1 minNuxt

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.

Vue tip1 minNuxt

2023

9 entries

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. The loading indicator is a simple spinner. You can customize the loading indicator by creating a custom loading component.

Vue tip1 minNuxt
Page 1 of 2