Advertisement · 728 × 90

Posts by Mastering Nuxt

Post image

Nuxt Tip 💡

The stale-while-revalidate pattern: Serve fast, update in background. Users get instant responses (even if slightly stale) and the cache rebuilds in the background.

Here's how you can do this in Nuxt/ Nitro.👇

1 month ago 2 0 0 0
Post image

Nuxt 4's cachedEventHandler is a fantastic feature.🔥

All you do is wrap your API routes to cache responses!

1 month ago 2 0 0 0
Post image

Unpopular opinion: Many plugins should be composables instead.

Plugins load on every page.

But composables load only when you use them.

2 months ago 2 0 0 0
Post image

Nuxt Tip 💡

Want to reduce your initial bundle size?

Use the Lazy prefix on component.

Components behind v-if still get bundled unless you add "Lazy" to the name. Then they only load when needed.

2 months ago 4 0 0 0
Preview
Performance Optimization in Nuxt 3 What makes Nuxt to be considered performant. This articles dives into Nuxt 3 performance optimization techniques and features for building lightning-fast web apps. Explore hybrid rendering, lazy loading, smart caching, image optimization, and Core Web Vitals improvements.

💨 Nuxt 3 is fast by default. But the real gains come from how you use it.

Hybrid rendering, lazy loading, smart caching, image optimization, and Core Web Vitals explained in one practical guide 👇
masteringnuxt.com/blog/performance-optimiz...

2 months ago 1 0 0 0
Preview
Certificates.dev Free Weekend | Free access to JavaScript Developer Certification Training Unlock 48 hours of free access to the Certified JavaScript Developer Training on Feb 7-8 2026 . Dive into theory, coding challenges, quizzes, and a trial exam.

JavaScript skills don’t grow by accident.
They grow when they’re challenged. ⚡

Get 48 hours FREE access to our Mid-Level JavaScript study guide on Feb 7–8 & put your skills to the test.

💻18 Code Challenges 🧠42 Quizzes 📚17 Lessons 📝Trial Exam

Sign up👇
https://go.certificates.dev/jsfwx

2 months ago 4 3 0 0
Post image

Happy 2026! 🎆

May your Nuxt apps load faster, your components stay lazy, and your dev workflow stay blissfully bug-free.

What feature or improvement do you really hope Nuxt brings in 2026? 🔥

3 months ago 4 0 0 0
Advertisement
Post image

If you encounter an error during server-side rendering, Nuxt provides the `<NuxtClientFallback>` component to display fallback content.

It shows a custom UI when a server-rendered component fails.

You must enable it by setting `experimental.clientFallback` to `true`.

3 months ago 3 0 0 0
Post image

Happy Holidays from the Mastering Nuxt team 💚

We want to send a big thank you to our amazing community of devs & Nuxt enthusiasts.

Here’s to more coding, creativity, and incredible Nuxt apps in 2026 💫

3 months ago 1 0 0 0
Post image

Nuxt Tip of the Week 💡

If you want to run code on the client before Nuxt does any initialization, use the `onPreHydrate` composable.

This lets you manipulate the DOM or add event listeners using only vanilla JavaScript

3 months ago 4 0 0 0
Preview
Mastering Nuxt | The official courses for learning Nuxt The complete guide to developing and deploying fast, production-ready Nuxt apps. MasteringNuxt is the most in-depth, fun, and realistic course made on Nuxt.

Building with @nuxt_js in 2026? Start strong before the year ends.

End of Year Sale is now live - get can get access to the official Nuxt 4 course for less:
⚡️ Up to 33% off the Full Stack Unleashed Complete
⚡️ 59% off the Super Bundle

Get yours today👇
https://masteringnuxt.com/

3 months ago 1 0 0 0
Post image

Tip of the Day 💡

With @nuxt_js, you can access the entire payload sent from the server to the client using the `useNuxtApp` composable.

This allows you to inspect all the data and state transferred during SSR or hydration.

3 months ago 1 0 0 0
Post image

Did you know that Nuxt Image v2 allows you to programmatically transform images from within your Nitro endpoint 👇

3 months ago 3 0 0 0
Preview
Mastering Nuxt | The official courses for learning Nuxt The complete guide to developing and deploying fast, production-ready Nuxt apps. MasteringNuxt is the most in-depth, fun, and realistic course made on Nuxt.

Serious Nuxt apps need serious knowledge - now’s your chance to learn! 💻

Cyber Monday is your last shot to grab Mastering Nuxt Full Stack Unleashed, the official course for Nuxt, with full-stack projects, AI chat apps & more - up to 60% off 👇
https://vue.school/mnbf25x

4 months ago 2 0 0 0
Preview
Mastering Nuxt | The official courses for learning Nuxt The complete guide to developing and deploying fast, production-ready Nuxt apps. MasteringNuxt is the most in-depth, fun, and realistic course made on Nuxt.

Learn Nuxt 4 the official way this Black Friday!🚀

💣 40% off the Complete Bundle
OR
💥Go all-in with the Super Bundle at 62% off

Unlock 100+ lessons & everything Michael Thiessen & the Nuxt team helped build into the official course.👇
https://vue.school/mnbf25x

4 months ago 3 1 0 0
Post image

Nuxt Tip of the Day 💡

In Nuxt 4.2, you can pass in your own AbortController when data fetching if you need fine-grained control over when requests are canceled👇

4 months ago 2 0 0 0
Preview
26 Nuxt Features You May Have Missed Explore the most impactful features from Nuxt 3.0 to 3.17 you may have missed — with clear examples, explanations, and upgrade notes for Nuxt 4 users.

Turns out Nuxt versions 3.0 to 3.17. had hidden gems all along. 💎

We’ve rounded up 26 hidden features, route groups, preview mode, delayed hydration, and more - with examples and tips for upgrading to Nuxt 4.

Discover them here 👇
masteringnuxt.com/blog/26-nuxt-features-yo...

4 months ago 3 0 0 0
Advertisement
Preview
Mastering Nuxt | The official courses for learning Nuxt The complete guide to developing and deploying fast, production-ready Nuxt apps. MasteringNuxt is the most in-depth, fun, and realistic course made on Nuxt.

Mastering Nuxt Fullstack Unleashed is the official @nuxt.com 4 course! 🏆

Built with @michaelthiessen.bsky.social & the Nuxt team, it has 100+ lessons, a full AI chat app, real-world production patterns & more

Master full-stack Nuxt dev today - up to 70% off 👇
vue.school/mnseb25x

4 months ago 0 0 0 0
Preview
10 Dev Tricks to Build Your Nuxt App Faster Practical tips and tricks to speed up your Nuxt development workflow, from auto-imports to DevTools and beyond.

You’re probably building your Nuxt app slower than you need to.

Not because you're doing anything wrong… but because Nuxt hides a ton of shortcuts in plain sight.

Here are 10 tricks that instantly speed up your workflow. 👇

masteringnuxt.com/blog/10-dev-tricks-to-bu...

4 months ago 1 0 0 0
Post image

When working with Nuxt, the `nitroApp` object inside plugins gives you access to various runtime hooks.

These hooks include `close`, `error`, `render:response`, `request`, `beforeResponse`, & `afterResponse`.

You can use these to run custom logic at different stages of the server lifecycle.

4 months ago 2 0 0 0
Preview
Certification of Competency for Modern Developers Get Certified! Have your developer skills validated and stand out in the crowd for promotions and new positions.

Forget the hardware upgrades - this Black Friday, upgrade you!💪

The Black Friday Early Bird Deal is LIVE: up to 60% OFF @vuejs.org, @nuxt.com, React, Angular, & JavaScript Certification + get bonus items with Mid or Senior Certification🎁

Don’t miss our biggest deal ever👇
go.certificates.dev/eb25X

4 months ago 5 2 0 0
Post image

Nuxt Tip Of The Week 💡

When you want to create a redirect in a server route, Nuxt lets you use the `sendRedirect` method from h3.

By default, this sends a 302 (temporary) redirect, but you can specify a different status code if needed.

5 months ago 0 0 0 0
Preview
Understanding useState in Nuxt: The Simple Way to Share State Need a simple shared state management solution for your Nuxt app? In this article, explore `useState` : Nuxt’s built-in composable for shared reactive data that works seamlessly with SSR.

Tired of passing props through a maze of components? 🌀

Learn how `useState` keeps your app reactive, SSR-ready, and perfectly simple - no complex setup, no data leaks, just clean global state that works.

masteringnuxt.com/blog/understanding-usest...

5 months ago 3 0 0 0
Post image

Nuxt Tip Of The Day💡

With Nuxt, since version 3.9, you can control how fetch requests are deduplicated using the dedupe parameter in the useFetch composable.

By setting dedupe to 'cancel', the previous request is cancelled and a new one is made whenever parameters change.

5 months ago 4 0 0 0
Post image

Nuxt Tip💡

With Nuxt, you can access the entire payload sent from the server to the client using the useNuxtApp composable.

This allows you to inspect all the data and state transferred during SSR or hydration.

6 months ago 1 0 0 0
Advertisement
Post image

💡 Did you know that with Nuxt you can access the entire payload sent from the server to the client using the `useNuxtApp` composable?

This allows you to inspect all the data and state transferred during SSR or hydration.

6 months ago 4 0 0 0
Post image

Tip of the day 💡

When working with Nuxt, you can control where your code runs by checking the environment. Use if (!import.meta.server) to skip code on the server, and if (!import.meta.client) to skip code on the client.

6 months ago 2 0 0 0
Preview
ViteConf The Official in-person Vite Conference organised in collaboration with the Creator of Vite, Evan You and Vite Core Team!

🔥 ViteConf 2025 is almost here! 🔥

Join Evan You, Daniel Roe, Anthony Fu, and more for two days of deep Vite talks, workshops, and the latest in web tech.

See how Vite is powering Nuxt and shaping the future of web development.

🎟️ Info & Tickets here: https://viteconf.amsterdam/

6 months ago 4 0 0 0
Post image

When writing unit tests, Nuxt provides a way to opt-in to a Nuxt environment by adding `.nuxt.` to your test filenames.

For example, you can name your test file like this 👇

6 months ago 2 0 0 0