Build

From v0.2.0, we shipped experimental build support with Vite. It's disabled by default and you can enable it by setting vite.build: true in config.

// nuxt.config
export default {
  buildModules: [
    'nuxt-vite'
  ],
  vite: {
    build: true
  }
}

Then run nuxt build with the power of Vite!

Edit this page on GitHub Updated at Mon, Oct 11, 2021