Appearance
Contributing
Thank you for considering contributing to Laravel Inertia Toast.
How You Can Help
- improve the documentation
- fix examples, wording, and usage notes
- report or clarify Laravel integration issues
- suggest Vue API improvements
- propose package features and bug fixes
Repository Scope
This branch is focused on the documentation site and published docs assets.
In this branch you can contribute:
- VitePress documentation pages in
docs - navigation, theme, and styling inside
docs/.vitepress - examples and contributor-facing documentation
If you want to contribute to Laravel or Vue package behavior, open a pull request with:
- a clear explanation of the change
- documentation updates for the new behavior
- focused examples showing the expected usage
Local Development
Install dependencies:
bash
npm installRun the docs site:
bash
npm run devBuild the docs site:
bash
npm run buildIf your change also includes PHP package updates in a branch that contains Composer scripts, run:
bash
composer lintRecommended Flow
- Fork the repository.
- Create a small, focused branch.
- Make one clear improvement at a time.
- Run
npm run buildbefore opening your pull request. - Explain what changed, why it changed, and which docs pages were updated.
Contribution Guidelines
- keep pull requests small and reviewable
- preserve the existing Laravel-style documentation tone
- update relevant docs when behavior, API, or setup changes
- prefer practical examples over long theory
- avoid unrelated formatting-only changes in the same pull request