Skip to content

Commit

Permalink
remove layout examples
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Jun 13, 2024
1 parent 706724b commit e993dc0
Show file tree
Hide file tree
Showing 89 changed files with 1 addition and 1,832 deletions.
8 changes: 1 addition & 7 deletions docs/pages/meta/+Page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,7 @@ async function onRenderHtml(pageContext) {

## Example: `Layout`

> If you use a <UiFrameworkExtension />, then you don't need to create the `Layout` setting as it's already created by <UiFrameworkExtension name noLink />.
Another common use case is to create a component `<Layout>` that defines the layout of a page.
Another common use case for `meta` is to create a component `<Layout>` that defines the layout of the page.

```js
// /pages/product/+Layout.js
Expand Down Expand Up @@ -337,10 +335,6 @@ async function onRenderClient(pageContext) {
}
```

Examples:
- <RepoLink path="/examples/layouts-react/" />
- <RepoLink path="/examples/layouts-vue/" />


## Example: modify `data()` env

Expand Down
2 changes: 0 additions & 2 deletions examples/layouts-react/.gitignore

This file was deleted.

2 changes: 0 additions & 2 deletions examples/layouts-react/.test-dev.test.ts

This file was deleted.

2 changes: 0 additions & 2 deletions examples/layouts-react/.test-preview.test.ts

This file was deleted.

1 change: 0 additions & 1 deletion examples/layouts-react/.testCiJob.json

This file was deleted.

73 changes: 0 additions & 73 deletions examples/layouts-react/.testRun.ts

This file was deleted.

15 changes: 0 additions & 15 deletions examples/layouts-react/package.json

This file was deleted.

15 changes: 0 additions & 15 deletions examples/layouts-react/pages/about/+Page.jsx

This file was deleted.

7 changes: 0 additions & 7 deletions examples/layouts-react/pages/index/+Layout.jsx

This file was deleted.

30 changes: 0 additions & 30 deletions examples/layouts-react/pages/index/+Page.jsx

This file was deleted.

8 changes: 0 additions & 8 deletions examples/layouts-react/pages/index/Layout.css

This file was deleted.

165 changes: 0 additions & 165 deletions examples/layouts-react/pages/starship/+Page.jsx

This file was deleted.

15 changes: 0 additions & 15 deletions examples/layouts-react/pages/starship/+route.js

This file was deleted.

10 changes: 0 additions & 10 deletions examples/layouts-react/readme.md

This file was deleted.

15 changes: 0 additions & 15 deletions examples/layouts-react/renderer/+config.ts

This file was deleted.

Loading

0 comments on commit e993dc0

Please sign in to comment.