

What's Coming in Nuxt 3? - Vue.js Tutorials
source link: https://vueschool.io/articles/news/whats-coming-in-nuxt-3/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

With the conclusion of the first Nuxt Nation Conference, a lot of us have Nuxt 3 on the brain. So what did the conference yield about the future of Nuxt? Here's quick overview of what we learned!
Beta Release
Most exciting of all, we now have a date set for the beta release! Mark your calendars for October 12, 2021!
If you've been on the fence about using Nuxt due to it's lack of support for Vue 3 your wait is almost over! Nuxt 3 is built with the latest version of Vue and therefore will reap all the benefits of the Vue 3 framework including:
- Improved performance
<script setup>
- and the Composition API
Nitro
Nuxt 3 will be built on a brand new server engine called Nitro. Due to this re-write of the server engine, Nuxt will now benefit from:
- optimized cold starts with dynamic server code-splitting (from 250ms in Nuxt 2 to 5 ms in Nuxt 3)
- incremental static generation (the ability to have a mix of SSR and SSG)
- the possibility for deployment to any system supporting JavaScript (including Node.js, Serverless, Workers, Edge-side rendering or purely static)
- deployments to serverless platforms like Netlify, Vercel, Azure, AWS, and CloudFlare Workers (platform auto detected, no config required)
- API Routes, like pages but for API endpoints
Bundlers
Nuxt 3 will support bundling with both the latest version of Webpack (version 5) as well as Vite for both development and production builds. Whichever one you choose, you'll be sure to experience a faster development experience and decreased production build times.
PS. If you want to use Vite in development for Nuxt 2 you can now with the Nuxt Vite module. Just be aware it's still experimental and might not work with many modules but I've had some good success with it so far.
Nuxt Bridge
Worried about migrating from Nuxt 2 to Nuxt 3? The awesome team at Nuxt Labs knows the real world concern of such a migration and has endeavored to make the transition as easy as possible. That's where Nuxt Bridge comes in. Nuxt Bridge provides:
- backwards compatibility for Nuxt 2 nuxt.config.js
- and backwards compatibility for Nuxt 2 modules and plugins
Alternately, Nuxt bridge also allows you to incrementally update to Nuxt 3 by backporting several Nuxt 3 features to Nuxt 2 including:
- Nitro server
- CLI and Devtool Support
- Nuxt 3 Composition API with auto imports
- Nuxt Kit
- Built in Typescript Support
- and more!
Other New Features!
- UnJS Organization - Nuxt core split into Node and Deno compatible packages
- Optional Page Support - only use Vue Router if you need it
- Nuxt CLI - for easily scaffolding new projects and integrating modules
- Nuxt Devtools - Debug Nuxt with specialized tooling right from the browser
- Native ESM Support - use
export default
pretty much everywhere - Auto global imports - use
<script setup>
without having to import ref, computed, etc - Suspense - data fetching in any component, before or after navigation.
- Typescript - Built with Typescript and supports Typescript out of the box
- Nuxt Kit - module development tooling with support for Typescript and cross version compatibility
I don't know about you, but I'm extremely excited for this upcoming release! Go checkout the official coming soon page for more info: https://nuxtjs.org/v3
Recommend
-
197
两个多月的空余时间里,博客差不多搭完。 感谢surmon.me,此 blog 才会诞生。 感谢七牛云提供资源...
-
12
API Factories Vue.js Nuxt How are you organizing your API calls? Have you considered API factories to make your codebase easier to work with, increasing your team’s productivity?A while back,
-
13
E-commerce site with vue.js + nuxt.js + apisful Today we will put together a not very complex, but extremely perspective online store. The requirements for it are neither too much nor too less: visitors will be able to fi...
-
10
Vue PWA: A Progressive Web Application Development with Nuxt September 16, 2021
-
26
Vue & Nuxt (2 Part Series) Improving performance of web applications will always be sexy. We want the page to load faster, smoother, and without too many layo...
-
23
Welcome to Nuxt 3 repository Documenta...
-
10
Use Socket.IO With Nuxt.js/Vue.js Learn how to implement...
-
18
5 November 2021 / Nuxt.js #Vue或Nuxt.js页面中动态加载js文件 如果把项目中的一些功能打包成js文件,以sdk的方式提供给前端页面使用,这样,...
-
7
Popular VS Code Extensions for Vue.js & Nuxt.js Developers in 2022 ...
-
6
Understanding and Measuring Nuxt Performance – Vue.js 3 Performance If you've delved into Vue.js and performance for a while, there's a good chance you've already checked out my earlier series, "
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK