Skip to content

Commit e4dc111

Browse files
authored
Update README.md
1 parent 4bef2ee commit e4dc111

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@ This package provides ready to use pagination components using tailwindcss, with
44

55
For example ***instead of*** :
66
```php
7+
//Controller
8+
$users = User::paginate(4);
9+
//Blade
710
{{ $users->links() }}
811
```
912

10-
You may use :
13+
You may use in blade:
1114
```html
1215
<x-paginate :elems="$users" />
1316
```
@@ -28,7 +31,7 @@ But you can **change** **themes** and more **settings** read [Usage](#usage).
2831

2932
## Prerequisites
3033

31-
**Tailwindcss** installed, **Laravel 8**, **PHP 8**
34+
**Tailwindcss**, **Laravel 8**, **PHP 8**
3235

3336

3437
## Installation
@@ -43,7 +46,7 @@ php artisan laravel-components:install
4346

4447
And you may run ```npm run watch``` or, ```npm run dev``` or, ```npm run prod```
4548

46-
Be sure that **tailwindcss** has been added to page.
49+
Be sure that ***Tailwindcss*** has been added to page.
4750

4851
## Usage
4952

@@ -90,9 +93,8 @@ for example:
9093

9194
- ### tailwind-gray
9295

93-
| | |
94-
| --------------------------------| --------------------------------- |
95-
| ![gray-theme](screens/gray.png) | ![gray-theme](/screens/gray1.png) |
96+
![gray-theme](screens/gray.png)
97+
![gray-theme](/screens/gray1.png)
9698

9799

98100
- ### tailwind-light-circled

0 commit comments

Comments
 (0)