Skip to content

Commit

Permalink
Merge pull request #104 from ArielMejiaDev/Hotfix/ReadmeFile
Browse files Browse the repository at this point in the history
updating readme
  • Loading branch information
freekmurze authored Aug 10, 2023
2 parents 1b39b14 + 613f19e commit f534427
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 f534427

Please sign in to comment.