Skip to content

Commit

Permalink
updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
swapnilsarwe committed Mar 30, 2021
1 parent 206aa2b commit 95bbcf9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ And even use inline styles:
If you want to use the raw SVG icons as assets, you can publish them using:

```bash
php artisan vendor:publish --tag=blade-si --force
php artisan vendor:publish --tag=blade-wi --force
```

Then use them in your views like:

```blade
<img src="{{ asset('vendor/blade-si/alien.svg') }}" width="10" height="10"/>
<img src="{{ asset('vendor/blade-wi/alien.svg') }}" width="10" height="10"/>
```

### Blade Icons
Expand Down
4 changes: 2 additions & 2 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ If you're upgrading from the original Blade Icons package there's very little st
If you were using the raw exported icons you'll need to re-publish them with:

```bash
php artisan vendor:publish --tag=blade-si --force
php artisan vendor:publish --tag=blade-wi --force
```

The new way to reference them is:

```blade
<img src="{{ asset('vendor/blade-si/alien.svg') }}" width="10" height="10"/>
<img src="{{ asset('vendor/blade-wi/alien.svg') }}" width="10" height="10"/>
```

0 comments on commit 95bbcf9

Please sign in to comment.