Support for other resource table alternating packages #2
KasparRosin
started this conversation in
Guide
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Issues
#1
What's the problem?
Since nova loads scripts chronologically, this means that which ever tool provider (that alters
resource-table
vue component) is applied last will stick, overriding any other changes that have been made to that vue component.What's the fix?
Firstly, we need to tell composer not to automatically load the selected packages.
In your composer.json, add the following.
You can replace
optimistdigital/nova-sortable
with another package that is causing this issue.Now that we told composer not to load the service provides of those package, we can go ahead and manually load them in the order we want to inside
app.php
config file.That's it.
Make sure you run
php artisan optimize && composer update
to make sure the changes are applied.You can also clear your frontend cache if they don't appear at first.
Beta Was this translation helpful? Give feedback.
All reactions