laravel 5.4分页链接()方法返回空的html

laravel 5.4 pagination links() method returns empty html string :

controller :

$articleBlogs = ArticleBlog::orderBy('created_at', 'desc')->paginate(10);

view :

{{ $articleBlogs->links() }}

output of : dd($articleBlogs)

LengthAwarePaginator {#216 ▼
  #total: 3
  #lastPage: 1
  #items: Collection {#211 ▼
    #items: array:3 [▶]
  }
  #perPage: 10
  #currentPage: 1
  #path: "http://localhost/Asmoza/prestakpi-laravel/public/blog"
  #query: []
  #fragment: null
  #pageName: "page"
}

output of : dd($articleBlogs->links());

 HtmlString {#208 ▼
    #html: ""
 }

I tried :

php artisan vendor:publish --tag=laravel-pagination

as described in the documentation, no effect

Any ideas ?

EDIT :

{{ $articleBlogs->render() }}

is same result

Solution : if paginator has only one page to show, it generates an empty links string.

You paginate 10, you don't have enough results to paginate, try by 2 and add more rows to ArticleBlog.