Open
Conversation
- Update composer.json: bump PHP to ^8.1, move laravel/nova to require-dev at ^5.0, add laravel/nova-devtool ^1.7, add illuminate/support, remove hardcoded Nova repository - Switch asset registration from Nova::script() to Nova::mix() with mix-manifest.json - Update webpack.mix.js to use laravel-nova-devtool extension instead of manual externals - Update package.json: remove vue-loader, vue-template-compiler, and vue (provided by Nova) - Add nova:install script for npm - Replace removed <default-button> Nova component with native <button>/<a> elements - Update Nova.booting() callback signature from (Vue) to (app, store) - Add route cache guard to service provider - Modernize PHP with return types
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
^8.1, movelaravel/novatorequire-devat^5.0, addlaravel/nova-devtool ^1.7andilluminate/support, remove hardcoded Nova repository URLNova::script()toNova::mix()withmix-manifest.jsonfor proper cache-bustinglaravel-nova-devtoolMix extension instead of manual webpack externals configvue-loader,vue-template-compiler, andvue(provided externally by Nova), addnova:installscript<default-button>Nova component with native<button>/<a>elementsNova.booting()callback signature from(Vue)to(app, store)per Nova 5 conventionTest plan
composer installin a Nova 5 project with this packagenpm run nova:install && npm install && npm run prodto build assets