Help articles

Renamed plugin sanity-plugin-vision

The Studio v2 plugin sanity-plugin-vision was renamed @sanity/vision. On Studio v3 and later, add visionTool() to your Studio configuration.

This page describes a Studio v2 plugin

The plugin sanity-plugin-vision has been renamed to @sanity/vision.

What should I do?

The steps depend on which major version of Sanity Studio you're running.

Studio v3 and later

  • Install the package with npm install @sanity/vision
  • Add visionTool() to the plugins array in your Studio configuration:

Vision is not bundled with the Studio, but new projects scaffolded by npm create sanity@latest already include it. For the configuration options, see The Vision plugin.

Studio v2

  • Install the Studio v2 release of the package with npm install @sanity/vision@2
  • Remove "vision" from the plugins array in your sanity.json, and add @sanity/vision in its place.

Was this page helpful?