Skip to content

Commit

Permalink
Added command publish:component to README docs
Browse files Browse the repository at this point in the history
  • Loading branch information
toonvandenbos committed Dec 9, 2024
1 parent 6a7f8a1 commit bdcc332
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@ composer require hiker-dev/hiker
php artisan hiker:install
```

## Publish the base files for common components

This package ships with a set of publishable components that will help setup the project's front-end basics in a few seconds. The following command will prompt for the components you can install:

```shellsession
php artisan publish:component
````

## Creating new publishable components

In order to create a publishable component, one should simply create a new "Publisher" class inside `src/Components/Publishers` and implement `Whitecube\LaravelPreset\Components\PublisherInterface` :
Expand Down

0 comments on commit bdcc332

Please sign in to comment.