File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,13 @@ This package provides ready to use pagination components using tailwindcss, with
44
55For 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
4447And 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
You can’t perform that action at this time.
0 commit comments