mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 01:53:55 +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
}
})