Nuxt.js: Nuxt.js and vite

Created on 13 May 2020  路  2Comments  路  Source: nuxt/nuxt.js

What problem does this feature solve?

What do you think about the new vite project https://github.com/vuejs/vite, when vite get production ready could we use it instead of webpack for development

This feature request is available on Nuxt community (#c10654)
feature-request

Most helpful comment

Hi @mdbetancourt

Right now we keep the focus on Vue 3 + Webpack 5 since it keeps the same developer experience both in development as in production (+ all the advantages of using Webpack).

We are already keeping an eye on vite as well as zipe to see how we can also support this solution, but it will be only when we are sure that the developer experience is not compromised.

All 2 comments

Hi @mdbetancourt

Right now we keep the focus on Vue 3 + Webpack 5 since it keeps the same developer experience both in development as in production (+ all the advantages of using Webpack).

We are already keeping an eye on vite as well as zipe to see how we can also support this solution, but it will be only when we are sure that the developer experience is not compromised.

I think there are some really great things with Webpack + Vue 3. I was curious to try Vite, and yes, while it is really cool, I realized it still has that "experimental feel" to it, and might be like that for a while. However, if anyone's interested, I just pushed "nuxt-vite" to my repo. It's nothing really special, because all it is is symlinking the main Nuxt folders. But it can be a useful thing to have for a developer (one screen has Nuxt, the other Vite. So sometimes is Nuxt app server restarts, while it's restarting, the dev would still be able to make progress on the client side and see those changes).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vadimsg picture vadimsg  路  3Comments

bimohxh picture bimohxh  路  3Comments

o-alexandrov picture o-alexandrov  路  3Comments

nassimbenkirane picture nassimbenkirane  路  3Comments

surmon-china picture surmon-china  路  3Comments