Assets versioning
Last updated
Was this helpful?
Last updated
Was this helpful?
By default masonite-inertia adapter will compute sensible version based on a hash of the compiled assets declared in webpack.mix.js
.
You can override this behaviour to provide your own logic to compute assets version when they change. This can be any string
(letters, numbers, or a file hash), as long as it changes when your assets have been updated.
The version()
method can be overriden in .
You can resolve inertia instance from the container and then call the version()
method.