Sanity Library Reference Docs
    Preparing search index...
    • Defines a project.

      Parameters

      • parameters: BlueprintProjectConfig

        The project configuration

        Configuration for a Sanity Project.

        • OptionaldisplayName?: string

          The name of the project, defaults to the resource name if not provided

        • Path to the logo image, relative to the blueprint file. Uploaded on every deploy; omitting it removes the logo. PNG, JPEG, BMP, GIF, TIFF, SVG, WebP, HEIF or AVIF, up to 5 MB.

        • name: string

          The name of the resource. Unique within the blueprint. e.g. 'sync-webhook'

      Returns BlueprintProjectResource

      The project resource

      defineProject({
      name: 'my-project',
      displayName: 'My Project',
      logo: './logo.png',
      })