Unable to find component:

What seems to be the problem:
I follow all the instructions to create a livewire component and I have this response:
Unable to find component: [admin.users.user-list]

I really don’t know what to do. Could you help me?

Steps to Reproduce:
I create the component: php artisan make:livewire admin.users.user-list component

Both files were created

In my route I called
Route::view(‘admin/users’, ‘livewire.admin.users.index’)->middleware(‘auth’);

then in index.blade.php
@ livewire(‘admin.users.user-list’)

In render method I wrote:
return view(‘livewire.admin.users.users-list’);

Are you using the latest version of Livewire:
yes

Do you have any screenshots or code examples:

All my codes:
@s are separated with a bank space they had interpreted as a members

views.livewire.admin.users.users-list.blade.php

Hi there

views.livewire.admin.users.index.blade.php (It is working without @livewire())
@ extends(‘adminlte::page’)
@ section(‘title’, ‘Dashboard’)
@ section(‘css’)

@ stop
@ section(‘content_header’)

{{ __(‘main.dashboard’) }}


@ stop
@ section(‘content’)
@ livewire(‘admin.users.user-list’)
@ stop
@ section(‘right-sidebar’)
@ stop
@ section(‘footer’)
@ stop
@ section(‘js’)

@ stop

app/Http/Livewire/Admin/Users.php

<?php namespace App\Http\Livewire\Admin\Users; use Livewire\Component; class UsersList extends Component { public function render() { return view('livewire.admin.users.users-list'); } }