Mathis Bullinger
.
Visit Mathis Bullinger's profile
Basic table support
There is an official Sanity table plugin for Sanity Studio v3. If you're using Studio v3, please consider using the official plugin instead.
Forked form rdunk/sanity-plugin-table.
Install using the Sanity CLI.
$ npm i sanity-plugin-another-table
Simply specify table
as a field type in your schema.
export default {
name: 'product',
title: 'Product',
type: 'document',
fields: [
{
name: 'sizeChart',
title: 'Size Chart',
type: 'table',
},
],
};
npm i @sanity/table
yarn add sanity-plugin-another-table@studio-v2
.