extends
You can install Vike extensions by using extends
:
// /pages/+config.js
import vikeReact from 'vike-react/config'
export default {
// Install `vike-react`. (Technically speaking: inherit the configuration `vikeReact`.)
extends: vikeReact
}
Config inheritance also applies to
extends
.For example, you can use completely different rendering strategies within the same app.