Skip to content

Commit

Permalink
updating readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ArielMejiaDev committed Aug 9, 2023
1 parent 1b39b14 commit 613f19e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,8 @@ $package

This will register your components with Laravel.

The user should publish the inertia components manually or using the [installer-command](#adding-an-installer-command) in order to use them.

If you have an inertia component `<package root>/resources/js/Pages/myComponent.vue`, you can use it like
this: `Inertia::render('YourPackageName/myComponent')`. Of course, you can also use subdirectories to organise your components.

Expand All @@ -242,7 +244,7 @@ command:
php artisan vendor:publish --tag=your-package-name-inertia-components
```

And this command is available with your package [installer-command](#adding-an-installer-command)
Also, the inertia components are available in a convenient way with your package [installer-command](#adding-an-installer-command)

### Working with translations

Expand Down

0 comments on commit 613f19e

Please sign in to comment.