inertia-vue3@0.4.0

Published on May 25, 2021
  • Disable page attribute inheritance (#681).
  • Add name to the <inertia-link> component (#638).
  • Fix <inertia-link> component to not change the URL path (#556).
  • Add isDirty property to the form helper (#660).
  • Reset form helper on visit exception (#682).
  • Fix bug with using custom onCancelToken callbacks in form helper (#645).
  • Update adapter to be SSR compatible.
  • Update TypeScript definitions (#661).
  • Add new <inertia-head> component (commit).
  • Make page props available to persistent layouts as props (#602).
  • Remove transformProps() and resolveErrors() (#693).

This is a breaking change that requires also updating to inertia@0.9.0.

New Inertia head component

This release adds a new <inertia-head> component, intended to make working with the document <head> easier. This is a first-class alternative to libraries like Vue Meta. It works both in the browser, and also when server-side rendering (SSR).

To use it, add the <inertia-head> component to your pages:

<inertia-head>
  <title>Your page title</title>
  <meta name="description" content="Your page description">
</inertia-head>

See the title & meta page for full documentation.