Skip to content

Commit

Permalink
docs: remove powerful config example (#1813)
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Sep 9, 2024
1 parent d84dc79 commit 0f60f93
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions docs/pages/config/+Page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -121,36 +121,6 @@ export default {

You can use a <Link href="/file-structure#domain-driven">domain-driven file structure</Link> for better organization and for improved configuration inheritance.

### Powerful

You can use multiple completely different rendering strategies for the same app.

For example, some pages can use Vue without SSR while other pages can use React with SSR:

```js
// pages/admin/+config.js

import vikeVue from 'vike-vue/config'

// Admin pages using Vue without SSR
export default {
ssr: false,
extends: [vikeVue]
}
```

```js
// pages/product/@id/+config.js

import vikeReact from 'vike-react/config'

// Product page using React with SSR
export default {
ssr: true,
extends: [vikeReact]
}
```


## Pointer imports

Expand Down

0 comments on commit 0f60f93

Please sign in to comment.