Nuxt4
?
Why did it take so long for Nuxt core team
aimed to release Nuxt4
in June of last year (2024).
The delay was primarily due to the postponed release of Nitro3
,
and I understand that it was also delayed due to various bug
fixes, the main version work of Nuxt Icon
, and the release of Nuxt Ui v3
.
Nuxt4
!
We can already use Actually, as I mentioned in the previous article, if you add the following code to nuxt.config.ts
, you can use Nuxt4
perfectly.
// nuxt.config.ts
export default defineNuxtConfig({
// ...
future: {
compatibilityVersion: 4,
},
// ...
})
I have already experienced it!
Since last year, I have been using Nuxt4
as a future
version, and I have been able to use it stably in the field.
In addition, as I explained in the article below,
I was very satisfied with the fact that it was easy to migrate from Nuxt3
to Nuxt4
with just a simple structure change and some configuration adjustments.
Nuxt4
?
What improvements are included in Nuxt4
has the following improvements!
- A new
/app
directory structure has been added. useAsyncData
anduseFetch
provide better caching and processing methods.- Head and tag optimization provide better
SEO
performance. Vite environment API
is being prepared for introduction.
Originally, it was planned to introduce Nitro3
to Nuxt4
, but after Nuxt4
is officially released, Nitro3
will be applied immediately.
This is because Nitro3
is a more stable and advanced version than Nitro2
.
Nuxt3
be supported?
So, until when will It seems that the support for Nuxt3
and the upcoming Nuxt4
and Nuxt5
will proceed as follows!
They say that the migration process is becoming easier, which is why they have set such a short period!
Version | Support |
---|---|
Nuxt3 | Support until the end of 2025 |
Nuxt4 | Support until mid-2026 |
Nuxt5 | No plans yet |
That’s all!
As you can see, Nuxt4
will be officially available soon!
Of course, you can enjoy Nuxt4
now! (?)
See you nuxt! (not next)