app/Http/Controllers/AlumnosController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $alumnos = Alumnos::paginate(10);
        return view('alumnos.index', compact('alumnos'));
    }
public function index ( ) { $ alumnos = Alumnos :: paginate ( 10 ) ; return view ( 'alumnos.index' , compact ( 'alumnos' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .
//Con paginación //al usar esta paginacion, recordar poner en el el index.blade.php este codigo  {!! $alumnos->links() !!}