Nuxt 3.16 released with faster project setup, better context handling & devtools upgrades
Nuxt.js 3.16 has been released, introducing the create-nuxt tool, which simplifies project initialization with a significantly smaller footprint than nuxi init. The update also upgrades Unhead to v2, improving head management with better context handling and integration while maintaining backward compatibility.
Nuxt Devtools has been upgraded to version 2, offering features like custom editor selection and Discovery.js for configuration inspection. Performance has been boosted through several optimizations, including the adoption of exsolve for faster module resolution and the use of oxc-parser for improved parsing. Additionally, native support for delayed hydration is now available, enhancing load performance.
The release also introduces advanced pages configuration, improved debugging options, and experimental support for decorators. Named layer aliases and enhanced error handling provide more flexibility and robustness. Module development sees improvements with the ability to augment Nitro types using addTypeTemplate. To upgrade, run npx nuxi@latest upgrade --dedupe to get the latest dependencies and improvements.