I have a vue3 cli app, which needs to support SSR for SEO concerns. I want to use pages and layouts features of nuxt.js, but currently it doesn't support vue3.
So what to do now..? is there any framework like nuxt.js but supports vue3..?
It's only right that Nuxt 3 was built to support Vue 3 features. Vue 3 was released in October 2020 and has since garnered a lot of praise from the Vue community. With Nuxt 3 being written in Vue 3, you get access to features like the Composition API, better module imports, and overall improved app performance.
You just create the directory and files, and Nuxt does all of the work. But the cons are that it is less controllable and manageable than a manually written one. With Vue. js you can easily add your own logic to the router, import services and have more control managing routes than with a manually generated router.
Nuxt 3 has been re-architected and re-written to support ESM and TypeScript natively. It's currently unstable, which makes it not yet production-ready.
Next. js has a better customer reach than Nuxt. js, with being mentioned at more than 82 company stacks and 69 developer stacks.
Build your next application with Vue 3 and experience hybrid rendering, powerful data fetching and new features. Nuxt 3 is an open source framework making web development simple and powerful. Star on GitHub Get started
If you need TypeScript support, then stick with Vue. Recently released Vue 3 is written in and supports TypeScript. As it stands, NuxtJS has poor TypeScript support. Should I migrate from vanilla Vue to Nuxt?
Nuxt.js is a framework built on top of Vue with the aim to make development easy and powerful. It focuses on the developer experience. What does Nuxt.js offer that Vue doesn’t?
With Vue.js you can easily add your own logic to the router, import services and have more control managing routes than with a manually generated router. This principle is more time consuming and more complex, but that doesn’t always mean it is worse because of it. Is Nuxt ready for enterprise-scale applications?
Nuxt 3.0.0-rc.6 is now available and supports Vue 3. Beware that it is missing functionality from Nuxt 2, but I feel the switch is already quite worth it.
Check this roadmap to see various module statuses.
[Old answer:]
You can use the composition API in Nuxt with the Nuxt Composition API module. It's experimental and not a final release but it may serve your purposes. From the docs:
@nuxtjs/composition-api provides a way to use the Vue 3 Composition API in with Nuxt-specific features.
Of course you could also continue to use Vue 2 with Nuxt.
About 1.5 months ago, the official Nuxt Twitter mentioned posting a roadmap for Nuxt 3 soon
You can see a Nuxt 3 roadmap slideshow here. Use the arrows in the slider to scroll it down.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With