<x-layouts.app title="Users">
    @php
        $usersSettingsData = [
            'usersEndpoint' => url('/api/users'),
            'rolesEndpoint' => url('/api/roles'),
            'csrfToken' => csrf_token(),
        ];
    @endphp

    <div id="users-settings-app" data-users-settings='@json($usersSettingsData)'></div>
</x-layouts.app>
