NuxtJS 2.8: What’s New and Improved
NuxtJS, one of the fastest-growing frameworks for developing VueJS applications, has released its latest version, NuxtJS 2.8. This update brings several new features, improvements, and bug fixes to enhance the developer experience.
Improved Developer Experience
One of the primary goals of NuxtJS 2.8 is to improve the developer experience. To achieve this, the team has introduced several new features, including:
- Grouped SSR logs: Server-side rendering (SSR) logs are now grouped, making it easier to debug and identify issues.
- Code building indicator: A new indicator shows the build status of your application in the browser, eliminating the need to switch to the terminal.
- Smart reloading: NuxtJS now only listens for file changes in supported extensions, reducing unnecessary reloads.
- Automatic page directory detection: NuxtJS automatically detects when a page directory is created, eliminating the need to restart the server.
Bug Fixes and Improvements
NuxtJS 2.8 also includes several bug fixes and improvements, including:
- Improved lazy loaded components: Lazy loaded components are now smaller and more efficient.
- Minified SPA fallback HTML files: The HTML for the SPA fallback is now minified, reducing file size.
- Improved consola: Consola, a library for adding custom styles to the console, is now optional.
- Bundle re-render: You can now control which scripts are loaded by your HTML using the
inject
option in thebundleRenderer
object. - Safe SSR logs: NuxtJS now safely formats SSR logs, preventing errors and making debugging easier.
Dependency Upgrades
NuxtJS 2.8 includes several dependency upgrades, including:
- Consola v2.7.0
- Connect v3.7.0
- Webpack v4.32
- Babel v7.4.5
- Thread-loader v2.1.2
Migration Tip
Upgrading to NuxtJS 2.8 requires no changes to your project code. Everything will be automatically migrated once you upgrade.
What’s Next?
The NuxtJS team is committed to continuously improving the framework. Stay tuned for future updates and releases.
Join the Conversation
Share your thoughts on the new features and improvements in NuxtJS 2.8. What’s your favorite new feature or API? Share in the comments!