Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
davide-casiraghi authored Jun 5, 2019
1 parent 1544b31 commit ecbbb0a
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,23 @@ You can install the package via composer:
### Publish all the vendor files
```php artisan vendor:publish --force```

### Configuration

You can add the configuration parameters about your content model in the configuration file.
```bash
/config/laravel-cards.php
```

### Import the _card.scss file in /resources/scss/app.scss
```php
@import 'vendor/laravel-cards/card';
```

## Usage

### Access to the package
After the package is published this new route will be available:

/laravel-cards

Accessing to this routes you can manage the cards.


Then to replace all the occurrance of the card snippets:

``` php
use DavideCasiraghi\LaravelCards\Facades\LaravelCards;

Expand Down

0 comments on commit ecbbb0a

Please sign in to comment.