laravel/nova-devtool
Nova Devtool streamlines Laravel Nova component development with a Workbench-based Nova setup, one-command installs for common frontend deps, and easy toggles to enable/disable Vue DevTools in Nova’s compiled assets.
@laravel/nova-devtool, Axios, Lodash, Tailwind, Vue DevTools) that must be excluded from production.php artisan nova:install or custom Docker setups achieve similar goals with less overhead?composer require --dev laravel/nova-devtool
npm install --save-dev @laravel/nova-devtool
workbench directory:
php vendor/bin/testbench nova:devtool setup
testbench.yaml for auto-login (if needed).php vendor/bin/testbench nova:devtool install to add Axios/Lodash/Tailwind/Vue.composer run serve and test customizations.php artisan test).nova:devtool install for common dependencies (e.g., Axios for API calls).composer install --no-dev).composer.json and package.json to avoid production leaks.workbench:flush or container restarts for debugging.php artisan serve in CI with manual Nova auth or headless testing.| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Workbench setup corruption | Broken Nova dev environment | Backup workbench dir; re-run setup. |
| Dependency conflicts (Tailwind/Vue) | Frontend build failures | Eject dependencies manually; use npm ls to debug. |
| Nova version mismatch | Package incompatibility | Pin Nova version in composer.json. |
| Workbench + CI incompatibility | Failing automated tests | Use php artisan nova:install in CI instead. |
| Auto-login bypassed | Manual login required | Configure testbench.yaml correctly. |
nova:devtool setup and validate Workbench.nova:devtool install for dependency injection.How can I help you explore Laravel packages today?