Is it possible to use vite with Nuxt.js for fast reloading?

Viewed 1826

According to this documentation https://v3.vuejs.org/guide/installation.html#vite, we can use vite with Vue.js for fast reloading.

I'm now switching to Nuxt.js and I'm wondering if it is possible to use vite with Nuxt.js.

I did not find an official way to do that, but it there any way?

1 Answers

Yeah, you will be able to use Vite with Nuxt once it's migrated to Nuxt 3 (with Vue3 backed in).

Right now, it's still on Webpack4 as of right now but you pretty much follow this github thread for futher updates. So far, the core team will unleash the possibility to interchangeably choose between Webpack and Vite.

Also, I can suggest that you check this week's JS World Conference because @atinux (Sebastien Chopin) will give a talk about Nuxt. So who knows, Nuxt3 maybe ?

enter image description here

Related