Environment: config (development & build-time)
Config | Config[]

Global
Provided by: vike

You can install Vike extensions by using extends:

// /pages/+config.ts
 
import type { Config } from 'vike/types'
import vikeReact from 'vike-react/config'
 
export default {
  // Install `vike-react`. (Technically speaking: inherit the configuration `vikeReact`.)
  extends: vikeReact
} satisfies Config

Config inheritance also applies to extends.

For example, you can use completely different rendering strategies within the same app.