Just curious about this one.
When you want to pass data that you want to be globally available in your Inertia Vue app, is it a good practice to pass it in `HandleInertiaRequests` middleware?
If we do that, are we implementing something like a `View Composer`?
General discussion
I am writing to request assistance in setting up a Learning Management System (LMS) website. I believe an LMS platform will greatly benefit us
![polash](https://gravatar.com/avatar/66762312ef8c21c0e8a79b20f8fdfb0d?s=100&d=https%3A%2F%2Fcodecourse.com%2Fimages%2Fdefault-avatar.webp)
Posted by polash
11 months ago.
Laravel
Hi @alex
Thanks for being an amazing tutor, and i'm glad i subscribed to this website.
I have a problem with one of your course which is here [https://codecourse.com/watch/laravel-multi-tenancy-basics?part=tenant-registration](https://codecourse.com/watch/laravel-multi-tenancy-basics?part=tenant-r...
General discussion
Hello @alex,
I was wondering if a course with Slim/Twig instead of Laravel/Blade as a server side for Inertia would be of interest to anyone other than me.
Hey everyone 👋
Have you guys tried hiding the generated routes of Ziggy when using Inertia?
Typical setup
```
<!-- Scripts -->
@routes
@vite(['resources/js/app.js'])
@inertiaHead
</head>
<body class="font-sans antialiased">
@inertia
</body>
```
If you're using `php artisan zig...
General discussion
hi @alex
i found this site:
https://useflipp.com/
bulid an image editor with: laravel and Inertia.js
and i think if
you can leran us how to make a image editor like
that but more simple
![hizone](https://gravatar.com/avatar/2a634b7fb447098920d0e7d0740065c6?s=100&d=https%3A%2F%2Fcodecourse.com%2Fimages%2Fdefault-avatar.webp)
Posted by hizone
1 year ago. Last reply
1 year ago.
I have a button...
`<button wire:click="$emitTo('components.modals.player-modal', 'showModal', '{{ $player->id }}')" class="focus:outline-none">
{{ $player->first_name . ' ' . $player->last_name }}
</button>`
...That triggers a modal similar to the Code Course tutorial: Global Modals with Liv...
![alexjolley](https://gravatar.com/avatar/4684007b67f7d1ecfdb0c0f4b685a28e?s=100&d=https%3A%2F%2Fcodecourse.com%2Fimages%2Fdefault-avatar.webp)
Posted by alexjolley
1 year ago. Last reply
1 year ago.
Laravel
Laravel with Blockchain?
![endrit008](https://gravatar.com/avatar/02ec037ada77ae13237587ed508184b5?s=100&d=https%3A%2F%2Fcodecourse.com%2Fimages%2Fdefault-avatar.webp)
Posted by endrit008
1 year ago. Last reply
1 year ago.
I recently followed the tutorial "Global Modals with Livewire and Alpine.js" (https://codecourse.com/watch/global-modals-with-livewire) to add a modal to my project. Everything is working great, but I am now trying to determine how I can pass a parameter to the modal so I can display info from the d...
![alexjolley](https://gravatar.com/avatar/4684007b67f7d1ecfdb0c0f4b685a28e?s=100&d=https%3A%2F%2Fcodecourse.com%2Fimages%2Fdefault-avatar.webp)
Posted by alexjolley
1 year ago. Last reply
1 year ago.
Inertia
I have a App.vue file that is a layout included in a page
script setup is the following:
```
const locale = usePage().props.locale
const locales = [
{
id: 'it',
name: 'Italian',
},
{
id: 'en',
name: 'English',
}...
![shogun](https://gravatar.com/avatar/fd1d2155c3813121371cd0e447f26441?s=100&d=https%3A%2F%2Fcodecourse.com%2Fimages%2Fdefault-avatar.webp)
Posted by shogun
1 year ago. Last reply
1 year ago.