Skip to content

Commit f17fce0

Browse files
committed
fix: patch up inertia highlight
1 parent 5ad9e4f commit f17fce0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.vitepress/theme/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ export default {
1515
},
1616
Layout() {
1717
return h(DefaultTheme.Layout, null, {
18-
'layout-top': () =>
19-
h(defineAsyncComponent(() => import('./components/shared/Banner.vue'))),
18+
// 'layout-top': () =>
19+
// h(defineAsyncComponent(() => import('./components/shared/Banner.vue'))),
2020
// 'aside-ads-before' : () =>
2121
// h(defineAsyncComponent(() => import('./components/shared/Paperplane.vue'))),
2222
// h(defineAsyncComponent(() => import('./components/shared/GPTLink.vue'))),

src/docs/frontend/inertia.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ php leaf view:install --svelte
2525
Adding Inertia to your Leaf app doesn't change the way you handle routing, so you'll still be using your controllers, except that instead of a Blade view, you would return an inertia view:
2626

2727
```php [app/controllers/MyController.php]
28-
return response()->view('something'); // ![code --]
29-
return response()->inertia('something'); // ![code ++]
28+
return response()->view('something'); // [!code --]
29+
return response()->inertia('something'); // [!code ++]
3030
```
3131

3232
If you need to return a view directly without the need for a controller, you can add an inertia route directly like this:

0 commit comments

Comments
 (0)