mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-04 19:37:18 +00:00
538 B
538 B
Vite
::alert{type=warning}
When using vite
, nitro must have been configured.
::
Remove Modules
- Remove
nuxt-vite
: Bridge enables same functionality
Update Config
import { defineNuxtConfig } from '@nuxt/bridge'
export default defineNuxtConfig({
bridge: {
vite: true,
nitro: true
}
})
Configuration
import { defineNuxtConfig } from '@nuxt/bridge'
export default defineNuxtConfig({
vite: {
// Config for Vite
}
})