Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Apr 8, 2024
1 parent 63487b2 commit ac3346e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/basic/layouts/HeadDefault.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default HeadDefault
export { HeadDefault }

import React from 'react'
import logoUrl from '../assets/logo.svg'
Expand Down
2 changes: 1 addition & 1 deletion examples/basic/layouts/LayoutDefault.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default LayoutDefault
export { LayoutDefault }

import './style.css'
import React from 'react'
Expand Down
8 changes: 4 additions & 4 deletions examples/basic/pages/+config.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
export { config }

import type { Config } from 'vike/types'
import Layout from '../layouts/LayoutDefault'
import Head from '../layouts/HeadDefault'
import { LayoutDefault } from '../layouts/LayoutDefault'
import { HeadDefault } from '../layouts/HeadDefault'
import vikeReact from 'vike-react/config'

// Default configs (can be overridden by pages)
const config = {
Layout,
Head,
Layout: LayoutDefault,
Head: HeadDefault,
// <title>
title: 'My Vike + React App',
extends: vikeReact
Expand Down

0 comments on commit ac3346e

Please sign in to comment.