Skip to content

BrokerChooser/inertia-react-components-in-blade-example

Repository files navigation

composer require brokerchooser/inertia-react-components-in-blade
php artisan vendor:publish --provider="BrokerChooser\InertiaReactComponentsInBlade\InertiaReactComponentsInBladeServiceProvider" --tag=component-map

php artisan vendor:publish --provider="BrokerChooser\InertiaReactComponentsInBlade\InertiaReactComponentsInBladeServiceProvider" --tag=example

This is an example repository to show BrokerChooser's inertia-react-components-in-blade package works in a vanilla Laravel Breeze installation.

Installation

You can install the package via composer:

composer require brokerchooser/inertia-react-components-in-blade

To register your React component you need to publish a getComponent.ts file and include

php artisan vendor:publish --provider="BrokerChooser\InertiaReactComponentsInBlade\InertiaReactComponentsInBladeServiceProvider" --tag=component-map

Optionally, You can publish an example component to your own repository with:

php artisan vendor:publish --provider="BrokerChooser\InertiaReactComponentsInBlade\InertiaReactComponentsInBladeServiceProvider" --tag=example

Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to BrokerChooser via info@brokerchooser.com. All security vulnerabilities will be promptly addressed.

License

The package is open-sourced software licensed under the MIT license.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published