Skip to content

Commit d3269c0

Browse files
committed
readme
1 parent 6394d3f commit d3269c0

File tree

1 file changed

+23
-10
lines changed

1 file changed

+23
-10
lines changed

README.md

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,6 @@ You can install the package via composer:
1515
composer require elegantly/blade-kit
1616
```
1717

18-
You can publish and run the migrations with:
19-
20-
```bash
21-
php artisan vendor:publish --tag="blade-kit-migrations"
22-
php artisan migrate
23-
```
24-
2518
You can publish the config file with:
2619

2720
```bash
@@ -31,7 +24,24 @@ php artisan vendor:publish --tag="blade-kit-config"
3124
This is the contents of the published config file:
3225

3326
```php
27+
use Elegantly\Kit\Ui\Base;
28+
use Elegantly\Kit\Ui\Button;
29+
use Elegantly\Kit\Ui\Input;
30+
use Elegantly\Kit\Ui\Select;
31+
use Elegantly\Kit\Ui\SwitchUi;
32+
use Elegantly\Kit\Ui\Tag;
33+
3434
return [
35+
36+
'ui' => [
37+
'base' => Base::class,
38+
'button' => Button::class,
39+
'input' => Input::class,
40+
'select' => Select::class,
41+
'tag' => Tag::class,
42+
'switch' => SwitchUi::class,
43+
],
44+
3545
];
3646
```
3747

@@ -43,11 +53,14 @@ php artisan vendor:publish --tag="blade-kit-views"
4353

4454
## Usage
4555

46-
```php
47-
$kit = new Elegantly\Kit();
48-
echo $kit->echoPhrase('Hello, Elegantly!');
56+
```html
57+
<x-kit::button class="rounded-md font-semibold" color="white">
58+
Button
59+
</x-kit::button>
4960
```
5061

62+
See full documentation [here](https://elegantengineering.tech/blade-kit#buttons).
63+
5164
## Testing
5265

5366
```bash

0 commit comments

Comments
 (0)